Pseudocode: Generate UNSUPPORTED_ELEMENT for misplaced returns
This commit is contained in:
@@ -439,6 +439,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
|
||||
doTest("compiler/testData/cfg/expressions/unresolvedWriteLHS.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsupportedReturns.kt")
|
||||
public void testUnsupportedReturns() throws Exception {
|
||||
doTest("compiler/testData/cfg/expressions/unsupportedReturns.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unusedExpressionSimpleName.kt")
|
||||
public void testUnusedExpressionSimpleName() throws Exception {
|
||||
doTest("compiler/testData/cfg/expressions/unusedExpressionSimpleName.kt");
|
||||
|
||||
@@ -443,6 +443,11 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
|
||||
doTest("compiler/testData/cfg/expressions/unresolvedWriteLHS.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsupportedReturns.kt")
|
||||
public void testUnsupportedReturns() throws Exception {
|
||||
doTest("compiler/testData/cfg/expressions/unsupportedReturns.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unusedExpressionSimpleName.kt")
|
||||
public void testUnusedExpressionSimpleName() throws Exception {
|
||||
doTest("compiler/testData/cfg/expressions/unusedExpressionSimpleName.kt");
|
||||
|
||||
Reference in New Issue
Block a user