-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
SyntaxError in logical expressions fail for some cases #1629
Comments
How are you uploading? Do you have your own tool? The issue is the usual Espruino gotcha - if you copy/paste into the REPL then it'll execute after a newline unless there are more open brackets than closed. If you upload with the Espruino CLI then those line endings get turned into Alt+Enter and it should all work great - so I'm not sure if this is something that we should really be tweaking tests for. If you want a quick hack to get your own code uploading, just surround everything in |
upload like described in #1490 |
but tested in console and WebIDE upload too. |
Thanks - it was a CLI/WebIDE issue - if you use the latest from GitHub it should work now. It's a good one to fix as I bet that's been tripping people up. |
add ( logical expressions ) for this test files
The text was updated successfully, but these errors were encountered: