diff --git a/compiler/testData/ir/irText/classes/kt43217.kt.txt b/compiler/testData/ir/irText/classes/kt43217.kt.txt new file mode 100644 index 00000000000..a094ba43c2d --- /dev/null +++ b/compiler/testData/ir/irText/classes/kt43217.kt.txt @@ -0,0 +1,41 @@ +class A { + constructor() /* primary */ { + super/*Any*/() + /* () */ + + } + + private val b: + field = { // BLOCK + local class : DoubleExpression { + constructor() /* primary */ { + super/*DoubleExpression*/() + /* () */ + + } + + override fun get(): Double { + return 0.0D + } + + } + + () + } + private get + +} + +class C : DoubleExpression { + constructor() /* primary */ { + super/*DoubleExpression*/() + /* () */ + + } + + override fun get(): Double { + return 0.0D + } + +} + diff --git a/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.kt.txt b/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.kt.txt new file mode 100644 index 00000000000..f8dbe9e5048 --- /dev/null +++ b/compiler/testData/ir/irText/firProblems/recursiveCapturedTypeInPropertyReference.kt.txt @@ -0,0 +1,23 @@ +interface Something { + +} + +interface Recursive where R : Recursive, R : Something { + abstract val symbol: AbstractSymbol + abstract get + +} + +abstract class AbstractSymbol where E : Recursive, E : Something { + constructor() /* primary */ { + super/*Any*/() + /* () */ + + } + + fun foo(list: List) { + val result: List>> = list.filterIsInstance>().map, AbstractSymbol>>(transform = Recursive::symbol) + } + +} +