musictheory / NilScript

Objective-C-style language superset of JavaScript with a tiny, simple runtime
Other
50 stars 5 forks source link

3.0: Require known superclasses #155

Closed iccir closed 6 years ago

iccir commented 6 years ago

In 2.x, we have a --warn-unknown-superclasses option, which warns if the compiler doesn't know about a specific superclass.

Starting in 3.0, this is now always on and an error. The compiler must know about the superclass in order to make certain optimizations.

iccir commented 6 years ago

This also affects the CircularClassHierarchy warning - it should now be an error.