dart2js: stable order for interceptor members #7709
Labels
area-web
Issues related to Dart Web.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
The order of members with the interceptor classes is sensitive to perturbations in unrelated code.
In the case of JSArray, JSString etc the order should be the source order.
In the case of JSObject, the members are synthetic and have no obvious order. Each member corresponds to a set of members in the declared interceptors, so in principle, they could be sorted by the minimum-positioned member of the set. It might be simpler to sort by the non-minified name or the property name.
The text was updated successfully, but these errors were encountered: