-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
TypeError.toString() message has regressed for simple types #50756
Comments
Note that in general I am not opposed to this message changing, we do have a golden test which will get broken, but I don't consider the exact message to be a part of the API. But I do think the new message is a regression from the old. |
This is probably a bug in the removal of Let's see if we can make sure it looks like before. |
void main() {
print(null as int);
} Also the grammar is just...off...
the |
The call to create this message seems to happen somewhere in VM C++ code, so tagging as area-vm. |
#50756 should fix that message. I believe this regressed when |
Consider the following test, which would have passed in older SDKs.
This now fails as follows:
It looks like it is maybe trying to list some information about generic type parameters now, but String has no generic type parameters.
cc @lrhn
The text was updated successfully, but these errors were encountered: