Prohibit JvmOverloads on constructors of annotation classes

In LV >= 1.4 & -progressive

 #KT-25702 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2018-12-24 01:55:57 +03:00
parent 958aeff94b
commit e4a4d1169e
14 changed files with 99 additions and 4 deletions
@@ -0,0 +1,4 @@
// "Remove @JvmOverloads annotation" "true"
// WITH_RUNTIME
annotation class A <caret>@JvmOverloads constructor(val x: Int = 1)
@@ -0,0 +1,4 @@
// "Remove @JvmOverloads annotation" "true"
// WITH_RUNTIME
annotation class A constructor(val x: Int = 1)