You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a bunch of warnings in the code generated by the tool.
Notably:
The unused value here - an interesting case because if the setter isn't supported, maybe it should have generated a val instead of a var and merely not had a setter?
If the warnings can be fixed, that'd be perfect, but it's generated code, so perhaps the generator could add @Suppress annotations to the classes to suppress any warnings they generate?
The text was updated successfully, but these errors were encountered:
There are a bunch of warnings in the code generated by the tool.
Notably:
The unused value here - an interesting case because if the setter isn't supported, maybe it should have generated a
val
instead of avar
and merely not had a setter?The many cases of redundant casts - for these, the cast is always redundant because the
is
check will cause a smart cast:And this one in the lexer where it's casting from
Array<DFA>
toArray<DFA?>
:If the warnings can be fixed, that'd be perfect, but it's generated code, so perhaps the generator could add
@Suppress
annotations to the classes to suppress any warnings they generate?The text was updated successfully, but these errors were encountered: