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:
Dmitry Petrov
2018-11-21 18:04:41 +03:00
parent dfe662364d
commit 7dd906db44
26 changed files with 1008 additions and 73 deletions
@@ -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()
}