java sealed types: functional interface can't be sealed (IDEA-243536)

GitOrigin-RevId: 7660808963e79d51b8d1507927d1095d119bcdb5
This commit is contained in:
Anna Kozlova
2020-06-16 00:04:15 +03:00
committed by intellij-monorepo-bot
parent 05d909b4ab
commit 2dcab690d5
5 changed files with 18 additions and 5 deletions
@@ -0,0 +1,4 @@
<error descr="Functional interface can't be declared as 'sealed'">@FunctionalInterface</error>
sealed interface I {
void m();
}