Skip to content

Move DDC to using the new analysis driver #29118

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

Closed
scheglov opened this issue Mar 20, 2017 · 16 comments
Closed

Move DDC to using the new analysis driver #29118

scheglov opened this issue Mar 20, 2017 · 16 comments
Assignees
Labels
legacy-area-analyzer Use area-devexp instead. P2 A bug or feature request we're likely to work on type-code-health Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable web-dev-compiler

Comments

@scheglov
Copy link
Contributor

The current status for running DDC presubmit checks:

01:11 +4985 -3: Some tests failed.
@jmesserly
Copy link

what are the 3 tests, out of curiosity? could it be expected failures because the inference behavior changed (per the new spec)?

@scheglov
Copy link
Contributor Author

Analysis Server crashes (I think with stack overflow) in:

codegen dartdevc language/covariant_override/tear_off_type_test
codegen dartdevc language/cyclic_typedef_test_10_multi
codegen dartdevc language/cyclic_typedef_test_11_multi

For example on this:

typedef A<T extends A>();

What is expected to happen here at all?
I find it hard to track all the informal specification changes floating around.

@jmesserly
Copy link

it's supposed to be a compile time error, right?

@scheglov
Copy link
Contributor Author

Yes, I think so.

@bwilkerson bwilkerson added P2 A bug or feature request we're likely to work on type-code-health Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable labels Mar 23, 2017
@dgrove
Copy link
Contributor

dgrove commented Mar 27, 2017

any updates on this?

@scheglov
Copy link
Contributor Author

No new work was done since a week ago :-(
I'm still working on top-level type inference, which turned out to be much bigger than I initially anticipated.

@bwilkerson
Copy link
Member

Does this still need to be done for 1.23?

@scheglov
Copy link
Contributor Author

No, it doesn't.
I planned to do this, so put it preliminary into the closest version, but was not able to finish it yet.

@bwilkerson bwilkerson modified the milestones: 1.24, 1.23 Mar 31, 2017
@dgrove
Copy link
Contributor

dgrove commented May 1, 2017

Any updates here? Happening for 1.23?

@scheglov
Copy link
Contributor Author

scheglov commented May 1, 2017

The CL is out for review.
But there is one issue where I need help from DDC people..

@jmesserly
Copy link

Oh gosh, my bad! I've replied there @scheglov ... and I just want to say here, the change looks lovely, thanks for putting so much work into making it such an elegant patch.

@vsmenon
Copy link
Member

vsmenon commented May 10, 2017

What's the status of this? Ready for 1.24? If not, do we need it?

@jmesserly
Copy link

I sent a patch to @scheglov to fix the CL. I'm not sure however if it's correct in general. There seems to be a behavior change for custom URL mappings. However it does fix async_helper to compile despite that.

@scheglov
Copy link
Contributor Author

Thank you.
This improves the situation with tests.
But there are still 21 tests failing, and I don't know whether I qualify to perform initial triage of these tests.

browser_tests_fail_20170510.txt

@dgrove
Copy link
Contributor

dgrove commented May 12, 2017

@vsmenon is this happening for 1.24?

@vsmenon vsmenon modified the milestones: 1.25, 1.24 May 13, 2017
@dgrove dgrove removed this from the 1.25 milestone Mar 20, 2018
@jmesserly
Copy link

Current theory is we won't need to do this, because DDC will migrate to Kernel. But if we see problems with the current DDC approach, we should revisit this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-area-analyzer Use area-devexp instead. P2 A bug or feature request we're likely to work on type-code-health Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable web-dev-compiler
Projects
None yet
Development

No branches or pull requests

5 participants