You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Hugo Ferreira <hf...@gmail.com> on 2022/10/09 20:56:31 UTC

Ignore warning: duplicate variable

Hi,

With the latest SDK, I start getting false warnings about duplicate
variable.
BTW, I never like this warning when was true.
How can I ignore warnings about duplicate variables using VS Code ?

Re: Ignore warning: duplicate variable

Posted by Hugo Ferreira <hf...@gmail.com>.
It's work.
Thank you very much.

Josh Tynjala <jo...@bowlerhat.dev> escreveu no dia segunda,
10/10/2022 à(s) 16:38:

> I think that the compiler option to turn off this particular warning is:
> -warn-duplicate-variable-def
>
> You will likely need to add it in additionalOptions instead of
> compilerOptions in asconfig.json.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Sun, Oct 9, 2022 at 1:54 PM Hugo Ferreira <hf...@gmail.com>
> wrote:
>
> > Hi,
> >
> > With the latest SDK, I start getting false warnings about duplicate
> > variable.
> > BTW, I never like this warning when was true.
> > How can I ignore warnings about duplicate variables using VS Code ?
> >
>

Re: Ignore warning: duplicate variable

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
I think that the compiler option to turn off this particular warning is:
-warn-duplicate-variable-def

You will likely need to add it in additionalOptions instead of
compilerOptions in asconfig.json.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Sun, Oct 9, 2022 at 1:54 PM Hugo Ferreira <hf...@gmail.com> wrote:

> Hi,
>
> With the latest SDK, I start getting false warnings about duplicate
> variable.
> BTW, I never like this warning when was true.
> How can I ignore warnings about duplicate variables using VS Code ?
>