Type parameter is not an expression: no need to report 'unused expression' on it

This commit is contained in:
Andrey Breslav
2013-12-02 22:41:43 +04:00
parent b5ae3adf77
commit ec39105183
4 changed files with 24 additions and 1 deletions
@@ -171,6 +171,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest("compiler/testData/cfg/ShortFunction.kt");
}
@TestMetadata("typeParameter.kt")
public void testTypeParameter() throws Exception {
doTest("compiler/testData/cfg/typeParameter.kt");
}
@TestMetadata("unresolved.kt")
public void testUnresolved() throws Exception {
doTest("compiler/testData/cfg/unresolved.kt");