Open Mercerenies opened 1 year ago
The REPL has some funny ideas of which classes can be subclassed:
> (defclass Foo (Reference) (defn foo () 1)) () > (defclass Bar (Foo) (defn foo () (lambda () (super:foo)))) Error: On line 1 column 2: Error 0027: Cannot extend direct load of file /tmp/__gdlisp_replfile9pp0J.gd
Expected behavior: The subclass Bar is accepted.
Bar
The REPL has some funny ideas of which classes can be subclassed:
Expected behavior: The subclass
Bar
is accepted.