FIR: support resolving to objects

This commit is contained in:
Simon Ogorodnik
2019-04-09 20:21:47 +03:00
committed by Mikhail Glukhikh
parent b38f3a1272
commit c6aff9380b
21 changed files with 160 additions and 61 deletions
@@ -1,5 +0,0 @@
FILE fqName:<root> fileName:/javaStaticMethod.kt
FUN name:test visibility:public modality:FINAL <> () returnType:IrErrorType
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun test (): IrErrorType declared in <root>'
ERROR_CALL 'Unresolved reference: <Unresolved name: bar>#' type=IrErrorType
+1
View File
@@ -6,5 +6,6 @@ public class J {
}
// FILE: javaStaticMethod.kt
// FIR_IDENTICAL
fun test() = J.bar()