Mercerenies / gdlisp

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

Statics have `self` #31

Closed Mercerenies closed 3 years ago

Mercerenies commented 3 years ago

This should not compile. But due to a mistake in the scoping rules (I was sloppy when implementing statics on inner classes), it does

(defclass Foo (Reference)
  (defn foo () static self))