Diagnostics: Fix range of DECLARATION_SIGNATURE diagnostics reported on secondary constructors

This commit is contained in:
Alexey Sedunov
2015-06-10 14:42:52 +03:00
parent 95438c7b5d
commit e1e1dd9413
4 changed files with 7 additions and 7 deletions
@@ -1,9 +1,9 @@
import kotlin.platform.platformStatic
class A {
<!PLATFORM_STATIC_ILLEGAL_USAGE!>platformStatic constructor()<!> {}
platformStatic <!PLATFORM_STATIC_ILLEGAL_USAGE!>constructor()<!> {}
inner class B {
<!PLATFORM_STATIC_ILLEGAL_USAGE!>platformStatic constructor()<!> {}
platformStatic <!PLATFORM_STATIC_ILLEGAL_USAGE!>constructor()<!> {}
}
}
class C platformStatic <!PLATFORM_STATIC_ILLEGAL_USAGE!>constructor()<!>
class C platformStatic <!PLATFORM_STATIC_ILLEGAL_USAGE!>constructor()<!>