Add line marker test for primary constructors #KT-20254 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
expect class <lineMarker>NoConstructor2</lineMarker> {
|
||||
fun <lineMarker>extraFun</lineMarker>()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// !CHECK_HIGHLIGHTING
|
||||
|
||||
actual class NoConstructor2(name: String) {
|
||||
val myName = name
|
||||
actual fun extraFun() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user