Add line marker test for primary constructors #KT-20254 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-10-09 13:45:35 +03:00
parent 0ebe9d576a
commit eec8be2c21
9 changed files with 56 additions and 0 deletions
@@ -0,0 +1,5 @@
// !CHECK_HIGHLIGHTING
expect class NoConstructor2 {
fun extraFun()
}
@@ -0,0 +1,5 @@
actual class <lineMarker>NoConstructor2</lineMarker>(name: String) {
val myName = name
actual fun <lineMarker>extraFun</lineMarker>() {}
}