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

Dart2js cannot toString a function type parameter. #12444

Closed
lrhn opened this issue Aug 14, 2013 · 9 comments
Closed

Dart2js cannot toString a function type parameter. #12444

lrhn opened this issue Aug 14, 2013 · 9 comments
Labels
closed-obsolete Closed as the reported issue is no longer relevant 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

Comments

@lrhn
Copy link
Member

lrhn commented Aug 14, 2013

Example code:


typedef int F(int x);

class Tester<T> {
 bool call(v) => v is T;
 Type get type => T;
 String toString() => "_ is $T"; /// Throws!
}

main() {
 print(F);
 var test = new Tester<F>();
 print(test);
 print(test.type); /// Prints "undefined"?
}


@DartBot
Copy link

DartBot commented Aug 14, 2013

This comment was originally written by ngeoffray@google.com


cc @johnniwinther.
cc @karlklose.

@kasperl
Copy link

kasperl commented Sep 18, 2013

Added this to the M7 milestone.

@kasperl
Copy link

kasperl commented Sep 30, 2013

Removed Priority-Unassigned label.
Added Priority-Medium label.

@kasperl
Copy link

kasperl commented Oct 2, 2013

Removed this from the M7 milestone.
Added this to the M8 milestone.

@kasperl
Copy link

kasperl commented Jun 4, 2014

Removed this from the M8 milestone.
Added this to the 1.6 milestone.

@karlklose
Copy link
Contributor

Marked this as blocking #19379.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the 1.6 milestone.
Added Oldschool-Milestone-1.6 label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Feb 29, 2016
@lrhn lrhn added the closed-obsolete Closed as the reported issue is no longer relevant label Nov 13, 2017
@lrhn
Copy link
Member Author

lrhn commented Nov 13, 2017

Seems to not throw any more.

@lrhn lrhn closed this as completed Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-obsolete Closed as the reported issue is no longer relevant 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
Projects
None yet
Development

No branches or pull requests

5 participants