-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[red-knot] add if-statement support to FlowGraph #11673
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
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
1b3ff5e
rename infer_symbol_type to infer_symbol_public_type
carljm ffd589f
infer public type from all definitions
carljm b01cbe3
add TODO comment
carljm 18a64d8
add TODO comment about union-of-all-defs
carljm a72293e
[red-knot] use reachable definitions in infer_expression_type
carljm 55d7428
[red-knot] extract helper functions in inference tests
carljm ad223c7
remove need for db = case.db in each test
carljm 76c566f
also extract write_to_path
carljm 89452b9
use textwrap::dedent
carljm 9f494ee
[red-knot] add if-statement support to FlowGraph
carljm 07ab4cd
improve tests
carljm ebb67bf
remove redundant Branch node
carljm ac934bb
FlowGraph doesn't need to be pub(crate)
carljm b1f6153
Merge branch 'main' into cjm/cfg1
carljm b8535b7
review comments
carljm 3dbf5d7
Merge branch 'cjm/cfg1' into cjm/cfg2
carljm d73db36
review comments
carljm 6a3780e
Merge branch 'cjm/cfg2' into cjm/cfg3
carljm ec113a1
review comments
carljm 3d52dfa
Merge branch 'main' into cjm/cfg2
carljm fda62af
Merge branch 'cjm/cfg2' into cjm/cfg3
carljm fe878d2
Merge branch 'cjm/cfg3' into cjm/cfg4
carljm f9312db
Merge branch 'main' into cjm/cfg4
carljm 1d3048d
Merge branch 'main' into cjm/cfg4
carljm 21c430d
only two preds per phi, source order visit
carljm d42fff9
code review comments
carljm a85871d
Merge branch 'main' into cjm/cfg4
carljm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.