Diagnostics: Fix range of DECLARATION_SIGNATURE diagnostics reported on secondary constructors
This commit is contained in:
+3
-3
@@ -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()<!>
|
||||
Reference in New Issue
Block a user