Restrict companion properties copying to interface by const

This commit is contained in:
Michael Bogdanov
2015-12-25 11:46:57 +03:00
parent 6f0c2a0260
commit 85ae0cb78e
6 changed files with 4 additions and 11 deletions
@@ -7,7 +7,6 @@ class Klass {
interface Trait {
companion object {
const val NAME = "Trait"
val DEPRECATED = "DEPRECATED"
}
}