J2K - no '@' required for primary constructor annnotations
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import javaApi.Anon5
|
||||
|
||||
class A
|
||||
@Anon5(10)
|
||||
Anon5(10)
|
||||
constructor(private val a: Int, private val b: Int) {
|
||||
|
||||
deprecated("") // this constructor will not be replaced by default parameter value in primary because of this annotation
|
||||
@@ -9,8 +9,8 @@ constructor(private val a: Int, private val b: Int) {
|
||||
}
|
||||
}
|
||||
|
||||
class B @Anon5(11)
|
||||
class B Anon5(11)
|
||||
constructor()
|
||||
|
||||
class C @Anon5(12)
|
||||
class C Anon5(12)
|
||||
private constructor()
|
||||
Reference in New Issue
Block a user