Do not report DSL scope violation error when language-version is 1.0

#KT-11551 Fixed
This commit is contained in:
Denis Zharkov
2016-10-25 17:19:49 +03:00
parent 7553d3f72b
commit 6491d3fbac
5 changed files with 66 additions and 1 deletions
@@ -15941,6 +15941,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("unsupportedFeature.kt")
public void testUnsupportedFeature() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/resolve/dslMarker/unsupportedFeature.kt");
doTest(fileName);
}
@TestMetadata("useOfExtensions.kt")
public void testUseOfExtensions() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/resolve/dslMarker/useOfExtensions.kt");