-
Notifications
You must be signed in to change notification settings - Fork 77
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
After switching to "BLOCKS" mode, the program didn't run #674
Comments
There's something funny going with the decompilation. @riknoll
and then back to
hence why it's not running. |
Same issue here: #626 |
Another here: #603 |
Another dupe here: #593 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Repro steps:
• Navigate to https://makecode.adafruit.com/beta#editor
• Copy the below code on "JavaScript" pane and the click button A
let strip = light.createStrip()
input.buttonA.onEvent(ButtonEvent.Click, () => {
strip.showAnimation(light.cometAnimation, 2000)
})
• Switch to "BLOCKS" mode and click button A again
Expect result:
![12347](https://user-images.githubusercontent.com/23466737/38081225-08a2934e-3333-11e8-8706-7b90576af9dd.gif)
After clicking button A, the program should run in "BLOCKS“ mode as in 'JavaScript' mode
Actual result:
After switching to "BLOCKS" mode, the program didn't run
The text was updated successfully, but these errors were encountered: