New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dart2js: libraries should not use IterableMixinWorkaround #13648
Comments
Marked this as blocking #13646. |
Added this to the M7 milestone. |
cc @floitschG. |
I am considering duplicating the functions from ListBase on JSArray unless there is a way to make the class both be an Interceptor and a ListBase. Removed this from the M8 milestone. |
IterableMixinWorkaround removed at https://code.google.com/p/dart/source/detail?r=44006 Added Fixed label. |
Dart2js currently uses IterableMixinWorkaround to implement some methods of JSArray.
IterableMixinWorkaround is duplicating code and not always giving the correct result when type parameters are involved, so it should be replaced by extending ListBase or mixin in ListMixin.
Simply changing the current code to extend ListBase makes interceptors for lists not work correctly.
The text was updated successfully, but these errors were encountered: