[SLC] cover case with invalid java identifier as annotation argument

^KT-56868 Fixed
^KT-57328
This commit is contained in:
Dmitrii Gridin
2023-03-14 19:33:31 +01:00
committed by Space Team
parent 948c511284
commit 71299f1d13
12 changed files with 93 additions and 13 deletions
@@ -0,0 +1,4 @@
@Sized(value = Size.3x3)
public final class Big /* Big*/ {
public Big();// .ctor()
}
@@ -0,0 +1,4 @@
@Sized(value = ?)
public final class Big /* Big*/ {
public Big();// .ctor()
}
@@ -0,0 +1,8 @@
// Big
enum class Size { `2x2`, `3x3` }
annotation class Sized(val value: Size)
@Sized(Size.`3x3`)
class Big
// IGNORE_LIBRARY_EXCEPTIONS: KT-57328