We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(labels ((foo () (bar)) (bar () (foo))) (lambda () (foo) (bar)))
This produces a closure object that incorrectly uses the _locals name twice.
_locals
class _LambdaBlock extends GDLisp.Function: var _locals var _locals func _init(_locals, _locals): self._locals = _locals self._locals = _locals self.__gdlisp_required = 0 self.__gdlisp_optional = 0 self.__gdlisp_rest = 0 func call_func(): _locals._fn_foo_1() return _locals._fn_bar_0() func call_funcv(args): if args == null: return call_func() else: push_error("Too many arguments")
It's the same _locals object, so we only need it once. And this is a syntax error in GDScript right now.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This produces a closure object that incorrectly uses the
_locals
name twice.It's the same
_locals
object, so we only need it once. And this is a syntax error in GDScript right now.The text was updated successfully, but these errors were encountered: