Collection Literals Support outside annotation

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