mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
But still resolve them as annotations. Mostly it's needed as begin of migration path, one day they become modifiers anyway Some tests are dropped because they supposed that `annotation` should have parameter
10 lines
302 B
Kotlin
Vendored
10 lines
302 B
Kotlin
Vendored
class A {
|
|
<!WRONG_MODIFIER_TARGET!>external<!> constructor() {}
|
|
inner class B {
|
|
<!WRONG_MODIFIER_TARGET!>external<!> constructor() {}
|
|
}
|
|
|
|
<!WRONG_MODIFIER_TARGET!>external<!> constructor(<!UNUSED_PARAMETER!>x<!>: Int)
|
|
}
|
|
|
|
class C <!WRONG_MODIFIER_TARGET!>external<!> constructor() |