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
This is closely related to #160 and I know I made a fix for this specifically but it seems I didn't test it well enough. If setup() has extra spaces but draw() does not, it works correctly. If draw() has extra spaces or is not defined for this Sketch, it does have a problem.
To fix this I need to take the regex I wrote to address this before and apply it to two other locations in py5_tools/parsing.py and py5_tools/imported.py.
Things that don't work that should:
This is closely related to #160 and I know I made a fix for this specifically but it seems I didn't test it well enough. If
setup()
has extra spaces butdraw()
does not, it works correctly. Ifdraw()
has extra spaces or is not defined for this Sketch, it does have a problem.To fix this I need to take the regex I wrote to address this before and apply it to two other locations in py5_tools/parsing.py and py5_tools/imported.py.
Thanks to @villares for finding this bug.
The text was updated successfully, but these errors were encountered: