JVM IR: support noarg compiler plugin
#KT-41265 Fixed
This commit is contained in:
+3
-7
@@ -6,10 +6,6 @@ annotation class NoArg
|
||||
class Test(val a: String)
|
||||
|
||||
fun box(): String {
|
||||
try {
|
||||
Test::class.java.newInstance()
|
||||
return "OK"
|
||||
} catch (_: Throwable) {
|
||||
return "Fail"
|
||||
}
|
||||
}
|
||||
Test::class.java.newInstance()
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user