FIR: resolve local class in anonymous initializer.

This commit is contained in:
Jinseong Jeon
2020-05-19 22:42:26 -07:00
committed by Mikhail Glukhikh
parent 2ff5b253ae
commit 0d3301b695
8 changed files with 11 additions and 8 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun testFun1(str: String): String {
val capture = str
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
var a: String = "Fail"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
-1
View File
@@ -1,5 +1,4 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE
// IGNORE_BACKEND_FIR: JVM_IR
class Outer<T> (val v: T) {
val prop: Any?