Mercerenies / gdlisp

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

Singleton objects with non-nullary constructors #84

Open Mercerenies opened 2 years ago

Mercerenies commented 2 years ago

Object with non-nullary constructor should probably be an error, since it will always be lazy-constructed with no arguments.

For example,

(defobject Foo (Reference)
  (defn _init (x)))