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
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
This comment was originally written by ngeoffray@google.com cc @johnniwinther. |
Added this to the M7 milestone. |
Removed Priority-Unassigned label. |
Marked this as blocking #19379. |
Removed this from the 1.6 milestone. |
Removed Oldschool-Milestone-1.6 label. |
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
added
the
closed-obsolete
Closed as the reported issue is no longer relevant
label
Nov 13, 2017
Seems to not throw any more. |
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
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"?
}
The text was updated successfully, but these errors were encountered: