The following should be an error, during the compile step.
(defclass Foo (Reference) main)
(defclass Bar (Reference) main)
Because each file can only have one main class. Currently, no error is reported, the classes get awkwardly merged, and we get a Godot-side error about duplicate constructors.
The following should be an error, during the compile step.
Because each file can only have one main class. Currently, no error is reported, the classes get awkwardly merged, and we get a Godot-side error about duplicate constructors.