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
Describe the bug
When typing a comment without a space inbetween a variable that does not specify its type and the comment itself, the preprocessor confuses the comment as part of the variable name, throwing an invalid character error. This does not happen with persisted variables, only input/outputs.
To Reproduce
@inputs Test#comment
^^^ won't validate@inputs Test #comment^^^ will validate
Expected behavior
Comments are properly filtered out and Test#comment would validate
Screenshots
The text was updated successfully, but these errors were encountered:
Vurv78
added a commit
to Vurv78/wire
that referenced
this issue
Oct 29, 2022
* Fixwiremod#2481 and add regression test
* Fixwiremod#2486 by refactoring `->` and `~` operators to use GetVariableType
* Add regression test for wiremod#2465 I missed
Describe the bug
When typing a comment without a space inbetween a variable that does not specify its type and the comment itself, the preprocessor confuses the comment as part of the variable name, throwing an invalid character error. This does not happen with persisted variables, only input/outputs.
To Reproduce
Expected behavior
Comments are properly filtered out and Test#comment would validate
Screenshots
The text was updated successfully, but these errors were encountered: