[FIR] Unwrap error expressions when detecting USAGE_IS_NOT_INLINABLE
Otherwise, false positive USAGE_IS_NOT_INLINABLE may be detected ^KT-65316: Fixed
This commit is contained in:
committed by
Space Team
parent
ed246d372b
commit
cd5b38b958
+6
@@ -20638,6 +20638,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/inline/labeled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labelsAndNonInlineUsage.kt")
|
||||
public void testLabelsAndNonInlineUsage() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inline/labelsAndNonInlineUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCast.kt")
|
||||
public void testLambdaCast() throws Exception {
|
||||
|
||||
+6
@@ -20638,6 +20638,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/inline/labeled.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labelsAndNonInlineUsage.kt")
|
||||
public void testLabelsAndNonInlineUsage() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inline/labelsAndNonInlineUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCast.kt")
|
||||
public void testLambdaCast() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user