Use DECLARATION_NAME strategy for FirErrors.PRIMARY_CONSTRUCTOR_REQUIRED
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
private sealed class Sealed
|
||||
|
||||
private data class SubClass1(val t: String) : Sealed()
|
||||
<!PRIMARY_CONSTRUCTOR_REQUIRED_FOR_DATA_CLASS!>private data class SubClass2 : Sealed()<!>
|
||||
private data <!PRIMARY_CONSTRUCTOR_REQUIRED_FOR_DATA_CLASS!>class SubClass2<!> : Sealed()
|
||||
|
||||
private fun foo(p: Sealed) {
|
||||
when (p) {
|
||||
|
||||
Reference in New Issue
Block a user