Skip to content
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

Closed
15 of 16 tasks
bwilkerson opened this issue Dec 13, 2017 · 9 comments
Closed
15 of 16 tasks

Support full type inference in the analyzer #31638

bwilkerson opened this issue Dec 13, 2017 · 9 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@bwilkerson
Copy link
Member

bwilkerson commented Dec 13, 2017

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.

@bwilkerson bwilkerson added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures labels Dec 13, 2017
@devoncarew
Copy link
Member

@stereotype441 can you please vet this and make sure this tracks the work we want to do?

@stereotype441
Copy link
Member

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.

@stereotype441
Copy link
Member

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.

@stereotype441 stereotype441 self-assigned this Jan 2, 2018
whesse pushed a commit that referenced this issue Jan 6, 2018
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>
whesse pushed a commit that referenced this issue Jan 7, 2018
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>
whesse pushed a commit that referenced this issue Jan 7, 2018
…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>
whesse pushed a commit that referenced this issue Jan 8, 2018
…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>
whesse pushed a commit that referenced this issue Jan 8, 2018
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>
whesse pushed a commit that referenced this issue Jan 9, 2018
… 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>
whesse pushed a commit that referenced this issue Jan 9, 2018
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>
@devoncarew
Copy link
Member

/cc @vsmenon and @leafpetersen for fyi

@vsmenon
Copy link
Member

vsmenon commented Feb 1, 2018

@stereotype441 @devoncarew

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.

@stereotype441
Copy link
Member

@vsmenon thanks! We'll use your CL as a starting point.

@bwilkerson
Copy link
Member Author

@stereotype441 I'm guessing that this issue is now obsolete and can be closed. Can you close it if that's true?

@stereotype441
Copy link
Member

No, it's not ready to close yet. #32156 is unfinished.

@stereotype441
Copy link
Member

All remaining unfinished subtasks are now being tracked in #32395.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

5 participants