Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error

This commit is contained in:
Zalim Bashorov
2015-10-16 15:07:31 +03:00
parent a16658a9e9
commit de5dc61820
33 changed files with 145 additions and 121 deletions
@@ -3,6 +3,6 @@ package test
class Klass {
companion object {
// Old and new constant values are different, but their hashes are the same
val CONST = "BF"
const val CONST = "BF"
}
}
@@ -3,6 +3,6 @@ package test
class Klass {
companion object {
// Old and new constant values are different, but their hashes are the same
val CONST = "Ae"
const val CONST = "Ae"
}
}