-
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
Support full type inference in the analyzer #31638
Comments
@stereotype441 can you please vet this and make sure this tracks the work we want to do? |
SGTM as a starting point. We may decide to skip some of the subtasks if their impact is minimal, but I think for now we should plan on doing all of them. |
I'm going to start working on this now. If others would like to help, please let me know so that we can divide up sub-tasks. |
R=brianwilkerson@google.com, paulberry@google.com Bug: #31638 Change-Id: If739da50a1d7e21c6a1e18da18d1f85f788663da #31546 Reviewed-on: https://dart-review.googlesource.com/32669 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Paul Berry <paulberry@google.com>
R=brianwilkerson@google.com, paulberry@google.com Bug: #31638 Change-Id: Ie15486387a6b5955e42e9fe5fc00cdba4f2ba68a #31440 Reviewed-on: https://dart-review.googlesource.com/32861 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
…lock bodies. Bug: #31436 Change-Id: I535c39383d42862f035b54e2fb5c143367605697 #31638 Reviewed-on: https://dart-review.googlesource.com/32860 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
…hile/do cycles, if/for conditions, and logical operators. R=brianwilkerson@google.com, paulberry@google.com Bug: #31638 Change-Id: I869d958515eb29994e570aac8343b90878d30e98 Reviewed-on: https://dart-review.googlesource.com/32880 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Fixes #31484 R=brianwilkerson@google.com, paulberry@google.com Bug: #31638 Change-Id: I94a571978a4052adca4c85df06941ccf56998bac Reviewed-on: https://dart-review.googlesource.com/32863 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
… void. R=brianwilkerson@google.com, paulberry@google.com Bug: #31779 Change-Id: I1c396cce3f148585218e02ff4e41bc2f85cc924a #31638 Reviewed-on: https://dart-review.googlesource.com/32687 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This must have been already fixed before. This CL just adds tests to the suite that we use for the top-level issue. R=brianwilkerson@google.com, paulberry@google.com Bug: #31638 Change-Id: Ic57c35abd4c31d86e58feeb9fa0c831df94d9ec6 Reviewed-on: https://dart-review.googlesource.com/33520 Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
/cc @vsmenon and @leafpetersen for fyi |
Re "Make it an error if a class includes in its super-interfaces the same generic interface twice with different type parameters": This is an internal try at it on top of dev 16: cl/184080428 That's not for landing, just for an internal global test run. It appears to catch the right errors. |
@vsmenon thanks! We'll use your CL as a starting point. |
@stereotype441 I'm guessing that this issue is now obsolete and can be closed. Can you close it if that's true? |
No, it's not ready to close yet. #32156 is unfinished. |
All remaining unfinished subtasks are now being tracked in #32395. |
This list might be incomplete. To help avoid missing cases we should test all the cases in pkg/front_end/testcases/inference and pkg/front_end/testcases/inference_new.
analyzer does not report an error on incorrect code in strong mode analyzer does not report an error on incorrect code in strong mode #31858The text was updated successfully, but these errors were encountered: