Fix KClassValue behavior for reified type parameter literals

#KT-27799 Open
This commit is contained in:
Alexander Udalov
2018-10-24 14:36:54 +02:00
parent c1ab08c8ce
commit 266a8dae3f
4 changed files with 23 additions and 8 deletions
@@ -32,4 +32,7 @@ fun test6() {}
fun test7() {}
@AnnArray(arrayOf(<!ANNOTATION_ARGUMENT_MUST_BE_KCLASS_LITERAL!>""::class<!>, String::class, AnObject::class))
fun test8() {}
fun test8() {}
inline val <reified T> T.test9
get() = @Ann(T::class) object {}