Collection Literals Support outside annotation


#1

Hi Team,
If this is supported and compiler can understand inside annotation then why it can’t outside annotation ?

below line is giving me error
val a = [10, 20, 30]

Regards,
Manish


#2