mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
Create actual fix: add empty brackets for classes in super-type lists
Related to KT-21082
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Sealed: to be implemented
|
||||
actual sealed class Sealed {
|
||||
actual object Obj : Sealed
|
||||
actual class Klass actual constructor(x: Int) : Sealed
|
||||
actual object Obj : Sealed()
|
||||
actual class Klass actual constructor(x: Int) : Sealed()
|
||||
|
||||
}
|
||||
@@ -3,4 +3,4 @@
|
||||
actual sealed class Sealed
|
||||
|
||||
actual object Obj : Sealed()
|
||||
actual class Klass actual constructor(x: Int) : Sealed
|
||||
actual class Klass actual constructor(x: Int) : Sealed()
|
||||
Reference in New Issue
Block a user