get rid of 'unwrapFromBlock'

do the logic in 'deparenthesize' method
This commit is contained in:
Svetlana Isakova
2013-09-17 18:56:54 +04:00
parent 4bf5bb18e9
commit 73c5cb07d8
10 changed files with 93 additions and 48 deletions
@@ -2485,6 +2485,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/deparenthesize/ArrayAccessAssignment.kt");
}
@TestMetadata("checkDeparenthesizedType.kt")
public void testCheckDeparenthesizedType() throws Exception {
doTest("compiler/testData/diagnostics/tests/deparenthesize/checkDeparenthesizedType.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/enum")