[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// FILE: Base.java
|
||||
|
||||
public class Base {
|
||||
public String getSomething() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: Derived.kt
|
||||
|
||||
class Derived : Base() {
|
||||
override fun getSomething(): String = "42"
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val d = Derived()
|
||||
val res1 = d.something // Should be Ok
|
||||
val res2 = d.getSomething() // Should be Ok
|
||||
}
|
||||
Reference in New Issue
Block a user