Files
kotlin-fork/idea/testData/codeInsight/codeVision/InterfacePropertiesOverrides.kt
T
2020-06-05 19:15:34 +02:00

11 lines
255 B
Kotlin
Vendored

// MODE: inheritors
<# block [ 1 Implementation] #>
interface SomeInterface {
<# block [ 1 Override] #>
open val interfaceProperty: String
}
class SomeClass : SomeInterface {
override val interfaceProperty: String = "overridden" // <== (1)
}