Add test for obsolete issue
#KT-3311 Obsolete
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// FILE: Super.java
|
||||
public class Super {
|
||||
public boolean foo;
|
||||
public boolean bar;
|
||||
|
||||
public void setFoo(boolean foo) {
|
||||
this.foo = foo;
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
public class Sub: Super() {
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val x = Sub()
|
||||
x.foo = true
|
||||
x.bar = true
|
||||
}
|
||||
Reference in New Issue
Block a user