Do not recompile module when anonymous object or local class is changed.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
class X {
|
||||
fun bar() = 111
|
||||
}
|
||||
|
||||
X().bar()
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
class X {
|
||||
fun bar() = 111
|
||||
fun baz() = ":)"
|
||||
}
|
||||
|
||||
X().bar()
|
||||
X().baz()
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
Cleaning output files:
|
||||
out/production/module/test/TestPackage$a$*$foo$X.class
|
||||
out/production/module/test/TestPackage$a$*.class
|
||||
out/production/module/test/TestPackage.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/a.kt
|
||||
End of files
|
||||
@@ -0,0 +1,5 @@
|
||||
package unrelated
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user