Skip to content

dart2js accepts default values for function type typedefs #12801

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
sgjesse opened this issue Aug 27, 2013 · 4 comments
Closed

dart2js accepts default values for function type typedefs #12801

sgjesse opened this issue Aug 27, 2013 · 4 comments
Assignees

Comments

@sgjesse
Copy link
Contributor

sgjesse commented Aug 27, 2013

The test

  language/function_type_alias7_test/00

fails.

It accepts the following typedef:

  typedef void badFuncType([int arg = 0]); /// 00: compile-time error

@sgjesse
Copy link
Contributor Author

sgjesse commented Aug 27, 2013

The related dart2dart issue is issue #12802.

@sgjesse
Copy link
Contributor Author

sgjesse commented Aug 27, 2013

This is also causing language/named_parameters_aggregated_test/01 to fail.

@karlklose
Copy link
Contributor

Set owner to @karlklose.
Added Started label.

@karlklose
Copy link
Contributor

Fixed in revision 27324.


Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants