mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Java: sensibly parse non-sealed modifier on local class and provide better error message (IDEA-342500)
GitOrigin-RevId: 574a5d9c31e5823127227622adaefaaea224b247
This commit is contained in:
committed by
intellij-monorepo-bot
parent
98d3ab7fec
commit
3e0ed000da
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.java.parser.declarationParsing;
|
||||
|
||||
import com.intellij.java.parser.AbstractBasicJavaParsingTestCase;
|
||||
@@ -115,6 +115,8 @@ public abstract class AbstractBasicClassParsingTest extends AbstractBasicJavaPar
|
||||
doTest(true);
|
||||
}
|
||||
|
||||
public void testLocalSealedClass() { doTest(true); }
|
||||
|
||||
public void testProvidesList() {
|
||||
doTest(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user