FIR checker: add diagnostic VAR_OVERRIDDEN_BY_VAL

This commit is contained in:
Jinseong Jeon
2021-01-28 17:52:11 -08:00
committed by Dmitriy Novozhilov
parent 80d5a1a1db
commit 3a07ca4c64
10 changed files with 36 additions and 26 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ open class A {
}
class B : A() {
override val a = 34
override <!VAR_OVERRIDDEN_BY_VAL!>val<!> a = 34
var b : Int
public get() = 23