groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill James <tanker...@gmail.com>
Subject Re: How to specify a default array value for annotation attribute with static compilation?
Date Fri, 19 Mar 2021 06:00:07 GMT
Reading the error, it seems the issue is the default value "[]" which a
List, not an Array...
is there a way to change the default value to an Array?  Seems like that
would be a more useful solution.



<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Mar 9, 2021 at 12:08 PM Damir Murat <damir.murat@gmail.com> wrote:

> Tnx Szymon. I opted for the first solution without CompileStatic.
>
>

Mime
View raw message