[BUG] parameter passing fail if out
, forward
, or move
used as variable name
#235
Labels
bug
Something isn't working
out
, forward
, or move
used as variable name
#235
In the current implementation of cppfront the following code:
Will compile and print:
When you try to pass these variables to the function:
it ends with a compilation error:
The following cases failed:
Expectation
I would expect an error when using these keywords as variable names - I found this by accident trying to understand why I cannot pass variable
out
to the function:When additional keywords are added to the function argument list more variables will cause this issue (see: #230 (comment))
The text was updated successfully, but these errors were encountered: