-
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
dart2js compiler failure on co19 test #42641
Comments
And that is why you don't use recursion on something where you can't control the depth! |
Indeed, we are using recursion while building the global inference graph when visiting super and redirecting constructor initializers. We do so in order to properly mark whether |
I have just spend some time looking into this crash before finding this issue. @lrhn The Dart specification does not say much about limits to recursion. Have you considered specifying some minimum requirements for a conforming implementation, e.g. handling @mraleph A VM command-line stack-size configuration would be very useful for debugging this kind of problem, and enabling this test to pass. @sgrekhov Is there a version of this test with a slightly less deep class hierarchy? Is there a reason that this goes to |
@rakudrama I'm afraid we don't have less deep version of this test. We do have test with the deep 3, but it's not the case. Here we check the corner case of extreme deep class hierarchy. But, it's not a problem to add 128 and 512 versions of the test. Do you want me to add these tests? |
The test is causing frequent CQ failures right now. Bug: #42641 Change-Id: I46727cab95eb8da5feec7de860426e94d5875314 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221325 Auto-Submit: Alexander Thomas <[email protected]> Commit-Queue: Alexander Thomas <[email protected]> Reviewed-by: William Hesse <[email protected]>
@sgrekhov A I notice for many of the co19 tests that dart2js generates code like |
The bot can't read well. |
@rakudrama I've added I suspect that statements like Good catch, thank you UPD Created dart-lang/co19#1243 |
dart2js fails on the following co19 test
https://github.com/dart-lang/co19/blob/master/Language/Types/Interface_Types/subtype_t27.dart
Output is
The text was updated successfully, but these errors were encountered: