Fix KCallable#name intrinsic for bound references
Do not skip generation of the left-hand side because it may produce side effects #KT-12995 Fixed
This commit is contained in:
@@ -1476,6 +1476,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kCallableNameIntrinsic.kt")
|
||||
public void testKCallableNameIntrinsic() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt12738.kt")
|
||||
public void testKt12738() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/callableReference/bound/kt12738.kt");
|
||||
|
||||
Reference in New Issue
Block a user