Files
kotlin-fork/compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt
T
Dmitry Petrov 7dd906db44 KT-28324 More exact startOffset for function/constructor declarations
Function/constructor declaration start offset is the start offset of the
corresponding declaration token, if available.
2018-11-22 10:09:31 +03:00

14 lines
191 B
Kotlin
Vendored

class Test1(val x: Int)
class Test2
internal constructor(val x: Int)
class Test3
/**
* comment
*/
constructor(val x: Int)
class Test4
@Suppress("UNUSED_VARIABLE")
constructor(val x: Int)