NoArg: Add compiler plugin
This commit is contained in:
committed by
Yan Zhulanow
parent
6abde4223b
commit
e626b121ad
@@ -0,0 +1,19 @@
|
||||
annotation class NoArg
|
||||
|
||||
@NoArg
|
||||
annotation class MetaAnno
|
||||
|
||||
@NoArg
|
||||
interface BaseIntf
|
||||
|
||||
@NoArg
|
||||
class Test(a: String = "", i: Int = 2)
|
||||
|
||||
class Test2 : BaseIntf {
|
||||
constructor(a: String = "", b: Long = 0L) {}
|
||||
}
|
||||
|
||||
@MetaAnno
|
||||
class Test3(a: String) {
|
||||
constructor() : this("") {}
|
||||
}
|
||||
Reference in New Issue
Block a user