Skip to content

Fix a handful of fine-grained incremental bugs#4691

Merged
msullivan merged 7 commits intomasterfrom
crash-debug
Mar 7, 2018
Merged

Fix a handful of fine-grained incremental bugs#4691
msullivan merged 7 commits intomasterfrom
crash-debug

Conversation

@msullivan
Copy link
Copy Markdown
Collaborator

This fixes all of the bugs found while running fine-grained incremental on the S repo with every file changed trivially.

@msullivan msullivan requested a review from JukkaL March 7, 2018 01:26
Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a few comments.

[case testImplicitTuple1]
import a
[file a.py]
# Bogus annotation in nested function masked because
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something missing in the comment? "... function masked because [what]"

changed_modules = dedupe_modules(remaining + changed_modules)
t1 = time.time()

self.manager.log_fine_grained(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unrelated to the rest of thePR?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, indeed. I added it to track progress while running mypy-daemon on a big changed repo. I can split it out.

@msullivan msullivan merged commit 9c00978 into master Mar 7, 2018
@msullivan msullivan deleted the crash-debug branch March 7, 2018 17:43
yedpodtrzitko pushed a commit to kiwicom/mypy that referenced this pull request Mar 15, 2018
* Fix refresh of implicit tuple types
* Fix refresh of imports in if MYPY else blocks
* Fix astmerge of CastExpr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants