[FIR] Report SEALED_CLASS_CONSTRUCTOR_CALL on expression
This commit is contained in:
committed by
TeamCityServer
parent
48994976d4
commit
088db0e138
@@ -1,3 +0,0 @@
|
||||
sealed class Base {
|
||||
fun foo() = <!SEALED_CLASS_CONSTRUCTOR_CALL!>Base<!>()
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
sealed class Base {
|
||||
fun foo() = <!SEALED_CLASS_CONSTRUCTOR_CALL!>Base()<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user