JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// KT-443 Write allowed to super.val
|
||||
|
||||
open class M() {
|
||||
open val b: Int = 5
|
||||
}
|
||||
|
||||
class N() : M() {
|
||||
val a : Int
|
||||
get() {
|
||||
<!VAL_REASSIGNMENT!>super.b<!> = super.b + 1
|
||||
return super.b + 1
|
||||
}
|
||||
override val b: Int = a + 1
|
||||
}
|
||||
Reference in New Issue
Block a user