Make FIR multi-module tests from IDE regular FIR compiler resolve tests
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
// FILE: A.java
|
||||
|
||||
public class A {
|
||||
public A foo() {
|
||||
return this;
|
||||
}
|
||||
|
||||
public A bar() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
class B : A() {
|
||||
override fun foo(): B = this
|
||||
fun bar(): B = this // Here we should have "missing override" but no ambiguity
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
bar()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user