FIR: introduce Java vs Kotlin class conflicts checker #KT-44441 Fixed

This commit is contained in:
Mikhail Glukhikh
2022-07-01 16:47:35 +02:00
committed by Space
parent d94d832309
commit 730a5d1a88
12 changed files with 231 additions and 11 deletions
@@ -0,0 +1,13 @@
// FILE: Hello.kt
private class <!PACKAGE_OR_CLASSIFIER_REDECLARATION!>Hello<!>()
{
val a = 4
}
fun test() {
// no exception is thrown (see KT-3897)
Hello().a
}
// FILE: Hello.java
public class Hello {}