Disallow nested classes within inner & local classes
#KT-1174 In Progress
This commit is contained in:
@@ -2459,6 +2459,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/inner/nestedClassExtendsOuterGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedClassNotAllowed.kt")
|
||||
public void testNestedClassNotAllowed() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inner/nestedClassNotAllowed.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedVsInnerAccessOuterMember.kt")
|
||||
public void testNestedVsInnerAccessOuterMember() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inner/nestedVsInnerAccessOuterMember.kt");
|
||||
|
||||
Reference in New Issue
Block a user