Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+= breaks the compiler #87

Closed
georgejecook opened this issue May 21, 2020 · 2 comments
Closed

+= breaks the compiler #87

georgejecook opened this issue May 21, 2020 · 2 comments

Comments

@georgejecook
Copy link
Contributor

text = text += key + ":" + RBS_CMN.AsString(input[key])

and all code like it, generates errors in rooibos (yes! rooibos is moving to the compiler, as we speak.. paarrrrtttttyyy!)

@georgejecook
Copy link
Contributor Author

oh - was late.. didnt' realize this line of syntax is wack.. closing.

@georgejecook
Copy link
Contributor Author

spoke too soon @TwitchBronBron there's some weirdness here

this is a compiler issue - my code isn't wrong.. the compiled version is wrong, and then the error is reported on the compiled version.

so

 if key <> "__mocks" and key <> "__stubs"
          text += key + ":" + RBS_CMN.AsString(input[key])
        end if

is the source bs

and the generated brs is wrong:

                text = text += key + ":" + RBS_CMN.AsString(input[key])
            end if

attached source and transpiled versoins - this comes from CommonUtils , line 310;

build.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant