Added test with constant in class object.

This commit is contained in:
Evgeny Gerashchenko
2014-07-07 15:03:18 +04:00
parent 2ac351928e
commit 11af8ed616
9 changed files with 44 additions and 6 deletions
@@ -0,0 +1,13 @@
Cleaning output files:
out/production/module/test/Klass$object.class
out/production/module/test/Klass.class
End of files
Compiling files:
src/const.kt
End of files
Cleaning output files:
out/production/module/test/Usage.class
End of files
Compiling files:
src/usage.kt
End of files
@@ -0,0 +1,8 @@
package test
class Klass {
class object {
// Old and new constant values are different, but their hashes are the same
val CONST = "BF"
}
}
@@ -0,0 +1,8 @@
package test
class Klass {
class object {
// Old and new constant values are different, but their hashes are the same
val CONST = "Ae"
}
}
@@ -0,0 +1,4 @@
package test
deprecated(Klass.CONST + Klass.CONST)
class Usage