[FE 1.0] Report warning about new IL operator resolve in initializers and default values

^KT-48361 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-08-23 11:36:14 +03:00
committed by TeamCityServer
parent a15a5aa429
commit 40614507d3
29 changed files with 143 additions and 35 deletions
@@ -20257,6 +20257,18 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/numbers/kt47729_parenthesis.kt");
}
@Test
@TestMetadata("kt48361_disabled.kt")
public void testKt48361_disabled() throws Exception {
runTest("compiler/testData/diagnostics/tests/numbers/kt48361_disabled.kt");
}
@Test
@TestMetadata("kt48361_enabled.kt")
public void testKt48361_enabled() throws Exception {
runTest("compiler/testData/diagnostics/tests/numbers/kt48361_enabled.kt");
}
@Test
@TestMetadata("literalReceiverWithIntegerValueType.kt")
public void testLiteralReceiverWithIntegerValueType() throws Exception {
@@ -20257,6 +20257,18 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/numbers/kt47729_parenthesis.kt");
}
@Test
@TestMetadata("kt48361_disabled.kt")
public void testKt48361_disabled() throws Exception {
runTest("compiler/testData/diagnostics/tests/numbers/kt48361_disabled.kt");
}
@Test
@TestMetadata("kt48361_enabled.kt")
public void testKt48361_enabled() throws Exception {
runTest("compiler/testData/diagnostics/tests/numbers/kt48361_enabled.kt");
}
@Test
@TestMetadata("literalReceiverWithIntegerValueType.kt")
public void testLiteralReceiverWithIntegerValueType() throws Exception {