Skip to content
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

bug when compiling dynamic type arg? #12266

Closed
sigmundch opened this issue Aug 6, 2013 · 0 comments
Closed

bug when compiling dynamic type arg? #12266

sigmundch opened this issue Aug 6, 2013 · 0 comments
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue

Comments

@sigmundch
Copy link
Member

Dart2dart seems to incorrectly compile the 'dynamic' type when it is used in a type argument of an allocation.

For example, this input:

main() {
  List<dynamic> list = new List<dynamic>();
  list.add(1);
  list.add('s');
}

Generates this output:

main(){List<dynamic> p_list=new List<p_Dynamic_>();p_list.add(1);p_list.add('s');}

Instead of:
main(){List<dynamic> p_list=new List<dynamic>();p_list.add(1);p_list.add('s');}

@sethladd sethladd added the closed-not-planned Closed as we don't intend to take action on the reported issue label Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue
Projects
None yet
Development

No branches or pull requests

3 participants