[FE] Allow using sealed modifier on interface and compute sealed modality for them

#KT-20423
This commit is contained in:
Dmitriy Novozhilov
2020-11-16 17:38:18 +03:00
committed by TeamCityServer
parent d605c7e491
commit 9609954560
14 changed files with 254 additions and 2 deletions
@@ -0,0 +1,5 @@
// ISSUE: KT-20423
// !LANGUAGE: -SealedInterfaces
// !DIAGNOSTICS: -UNUSED_VARIABLE
<!WRONG_MODIFIER_TARGET!>sealed<!> interface Base