Files
kotlin-fork/compiler/testData/diagnostics/tests/multimodule/kt14249.kt
T
Roman Golyshev dcc30cb672 FIR IDE: Mute test with java file in the dependency
The corresponding JavaSymbolProvider currently is unable to
see the `Foo` class, because under the hood it uses
`JvmDependenciesIndexImpl` which doesn't know about the corresponding
.java file because it is created for m2-module `project`

I wasn't able to fix it yet
2021-07-08 18:25:42 +03:00

23 lines
298 B
Kotlin
Vendored

// FIR_IDE_IGNORE
// FIR_IDENTICAL
// MODULE: m1
// FILE: test/Foo.java
package test;
class Foo {
static Foo create() { return Foo(); }
void takeFoo(Foo f) {}
}
// MODULE: m2(m1)
// FILE: test.kt
package test
fun test() {
Foo()
val a: Foo = Foo.create()
Foo().takeFoo(a)
}