[FIR] Report UNSUPPORTED_SEALED_FUN_INTERFACE
^KT-59957 Fixed
This commit is contained in:
committed by
Space Team
parent
8be98da1d3
commit
b7d1298f20
-15
@@ -1,15 +0,0 @@
|
||||
sealed fun interface A { // error
|
||||
fun foo()
|
||||
}
|
||||
|
||||
sealed interface Base {
|
||||
sealed fun interface Derived : Base { // error
|
||||
fun foo()
|
||||
}
|
||||
}
|
||||
|
||||
sealed interface IBase {
|
||||
fun interface IDerived : IBase { // OK
|
||||
fun foo()
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
<!UNSUPPORTED_SEALED_FUN_INTERFACE!>sealed<!> fun interface A { // error
|
||||
fun foo()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user