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
After investigation, I think this is a Skulpt bug as showing there:
Skulpt doesn't handle this well as 1) it shows the wrong location and 2) it doesn't point at the "Error" not being the actual issue.
Running the same code in Python shows:
While we can look for a fix in Skulpt, I wonder if there is a role TigerPython should play in the "except" format?
Try putting this code into Strype (I forgot how the except clause works, you write "type as name" not just "name"):
The console correctly prints:
You get an error indicator on the frame inside the try, although the error is really on the except:
And in the Javascript console:
which seems to arise from Menu.vue line 814 (as of 3rd December 2024):
Not sure if this is two bugs (wrong location, and issue with error navigation) or one bug.
The text was updated successfully, but these errors were encountered: