| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
that also work with interfaces
|
Last commit bakes in static instanceof helpers for both classes and interfaces that no longer rely on the RTTI blob. Together with host bindings that also generate static code, bundling the RTTI blob now is no longer necessary. I did not yet remove the RTTI blob, since doing so in turn renders the loader non-functional, so should likely get its own PR. |
Sorry, something went wrong.
|
(for some reason this one doesn't show as merged as usual but is still open, so closing manually) |
Sorry, something went wrong.
BREAKING CHANGE: Element kinds FIELD and FIELD_PROTOTYPE and elements Field and FieldPrototype have been removed. Instead, Property inherit previous Field functionality, indicated by property.isField.
| Back | FazBrowse Home | New Git URL |
Removes the hard distinction between fields, i.e.
and properties, i.e.
by making fields special kinds of properties, differing in having an associated memory offset. As a result, fields (which get built-in getters and setters) and properties (with explicit getters and setters) can override each other, lifting the annoying limitation that interface fields can only be implemented with properties. Since interchangeable fields and properties are more powerful than what is possible in JS/TS, compatibility with TS becomes a matter of disallowing what wouldn't be supported there due to JS nature.