incremental compilation: do not recompile on changes in private static final values.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/ConstKt.class
|
||||
out/production/module/test/Klass$Companion.class
|
||||
out/production/module/test/Klass.class
|
||||
out/production/module/test/Obj.class
|
||||
out/production/module/test/TestPackage.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/const.kt
|
||||
End of files
|
||||
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
val CONST = "foo"
|
||||
|
||||
class Klass {
|
||||
companion object {
|
||||
private val CHANGED = "old"
|
||||
public val UNCHANGED = 100
|
||||
}
|
||||
}
|
||||
|
||||
object Obj : Any() {
|
||||
private val CHANGED = "old:Obj"
|
||||
public val UNCHANGED = 200
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
val CONST = "foo"
|
||||
|
||||
class Klass {
|
||||
companion object {
|
||||
private val CHANGED = "new"
|
||||
public val UNCHANGED = 100
|
||||
}
|
||||
}
|
||||
|
||||
object Obj : Any() {
|
||||
private val CHANGED = "new:Obj"
|
||||
public val UNCHANGED = 200
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
@Deprecated(CONST + Klass.UNCHANGED)
|
||||
class Usage
|
||||
Reference in New Issue
Block a user