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
VM crashes on subtype test of recursive typedefs #9611
Comments
The examples fails in checked mode only and still does in r22222. Added Triaged label. |
Added Accepted label. |
Set owner to @crelier. |
Removed Priority-Medium label. |
See these related language tests: function_type_alias6_test Note that the spec has recently been changed to be more restrictive: "A typedef may only refer to itself via the bounds of its generic parameters. Any other self reference, either directly, or recursively via another typedef, is a compile time error." In other words, the example of this reported issue should now cause a compile time error. A cl is under review: https://codereview.chromium.org/19997003/ Added Started label. |
Fixed in r25382. Added Fixed label. |
typedef void F(List<F> l);
typedef void G(List<G> l);
main() {
F foo(G g) => g;
foo(null);
}
The text was updated successfully, but these errors were encountered: