Open PastMoments opened 18 hours ago
A workaround for this issue is to properly format nested lambda functions before hand, allowing the parser to continue.
It would be nice if _format_code()
had an exception case for Exception
so it could print out the file that was being scanned (and raise
it again)
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python312\Lib\site-packages\gdtoolkit\formatter\__main__.py", line 175, in _check_files_formatting
success, actually_formatted, formatted_code = _format_code(
^^^^^^^^^^^^^
Thanks for reporting! Looks like you've discovered another flavor of https://github.com/Scony/godot-gdscript-toolkit/issues/326 This is clearly a bug.
I'm using
4.3.3
off ofmaster
, since I saw #191 and thought it would help, but master still has this issue.This gives the following error. I'm not 100% sure the conditions to cause this