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.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class C {
|
||||
constructor() : super()
|
||||
|
||||
private
|
||||
constructor(x: Int): super()
|
||||
|
||||
/**
|
||||
* comment
|
||||
*/
|
||||
constructor(x: String) : super()
|
||||
|
||||
@Suppress("UNUSED_VARIABLE")
|
||||
constructor(x: Any): super()
|
||||
}
|
||||
Reference in New Issue
Block a user