| FILE: classWithGeneratedMembersAndNestedClass.kt | |
| @R|org/jetbrains/kotlin/plugin/sandbox/NestedClassAndMaterializeMember|() public final class Foo : R|kotlin/Any| { | |
| public constructor(): R|Foo| { | |
| super<R|kotlin/Any|>() | |
| } | |
| public final class MyNested : R|kotlin/Any| { | |
| public constructor(): R|Foo.MyNested| { | |
| super<R|kotlin/Any|>() | |
| } | |
| } | |
| public final fun materialize(): R|Foo| | |
| public final class Nested : R|kotlin/Any| { | |
| public constructor(): R|Foo.Nested| { | |
| super<R|kotlin/Any|>() | |
| } | |
| } | |
| } | |
| public final class Bar : R|kotlin/Any| { | |
| public constructor(): R|Bar| { | |
| super<R|kotlin/Any|>() | |
| } | |
| } | |
| public final fun test_1(foo: R|Foo|): R|kotlin/Unit| { | |
| lval foo2: R|Foo| = R|<local>/foo|.R|/Foo.materialize|() | |
| lval nested: R|Foo.Nested| = Q|Foo|.R|/Foo.Nested|() | |
| } | |
| public final fun test_2(bar: R|Bar|): R|kotlin/Unit| { | |
| lval foo2: R|Bar| = R|<local>/bar|.<Unresolved name: materialize>#() | |
| lval nested: <ERROR TYPE REF: Unresolved name: Nested> = Q|Bar|.<Unresolved name: Nested>#() | |
| } |