Mercerenies / gdlisp

Lisp on the Godot platform
GNU General Public License v3.0
140 stars 1 forks source link

Defclass extends should default to Reference #69

Closed Mercerenies closed 2 years ago

Mercerenies commented 2 years ago

Minor enhancement, but

(defclass Foo ())

should expand to

class Foo extends Reference: ...

That is, if no superclass is specified, then Reference should be assumed.

Consider disabling this defaulting behavior for main classes, to match GDScript's behavior on the same?