Following onto #41, there is a small corner case we have not resolved. Namely, a main class and the toplevel scope can still have name clashes.
(defn foo ())
(defclass Foo (Reference) main (defn foo ()))
This should be an error (even though the outer name compiles to static and the inner does not), but it is currently accepted by GDLisp and will fail when Godot tries to run it.
Following onto #41, there is a small corner case we have not resolved. Namely, a
main
class and the toplevel scope can still have name clashes.This should be an error (even though the outer name compiles to
static
and the inner does not), but it is currently accepted by GDLisp and will fail when Godot tries to run it.