Skip to content

[dart2js] Wrong order of forwarding constructor named arguments #47047

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

Closed
rakudrama opened this issue Aug 31, 2021 · 0 comments
Closed

[dart2js] Wrong order of forwarding constructor named arguments #47047

rakudrama opened this issue Aug 31, 2021 · 0 comments
Assignees
Labels
area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. web-dart2js

Comments

@rakudrama
Copy link
Member

rakudrama commented Aug 31, 2021

{language,language_2}/constructor/named_arguments/none has been failing for some time.

The generated code for these forwarding constructors always evaluates the expression for a: before b: when they should be evaluated in textual order.

  X.fisk() : this(b: bar(), a: foo());
  X.naebdyr() : this(a: foo(), b: bar());
@rakudrama rakudrama added web-dart2js area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. labels Aug 31, 2021
@rakudrama rakudrama self-assigned this Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. web-dart2js
Projects
None yet
Development

No branches or pull requests

1 participant