[java] better error message when extends/implements list not allowed (IDEA-350501)

GitOrigin-RevId: 3eee3e73fe57a8dc7bf10b9b30956e02a36c89d8
This commit is contained in:
Bas Leijdekkers
2024-04-03 09:26:34 +02:00
committed by intellij-monorepo-bot
parent 0fc08dae0c
commit afb2aef0a1
4 changed files with 8 additions and 8 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
interface i <error descr="No implements clause allowed for interface">implements Runnable</error> {}
interface i <error descr="'implements' not allowed on interface">implements</error> Runnable {}
interface ii {}
class cs extends <error descr="No interface expected here">ii</error> {}