-
Notifications
You must be signed in to change notification settings - Fork 585
Single-pass expression analysis groundwork - answer type questions from ExpressionResults #5857
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
Open
ondrejmirtes
wants to merge
32
commits into
2.2.x
Choose a base branch
from
resolve-type-rewrite-2
base: 2.2.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3a9b598
Accept precomputed operand types in RicherScopeGetTypeHelper
ondrejmirtes 3832b5e
Let ExpressionResult own its expression's type and narrowing
ondrejmirtes 6073452
Store whole ExpressionResults instead of before-scopes
ondrejmirtes 0e0943a
Compose default narrowing from walk results in DefaultNarrowingHelper
ondrejmirtes 0501aa7
Replace EqualityTypeSpecifyingHelper with result-composed IdenticalNa…
ondrejmirtes 450a427
Compose boolean narrowing from operand results
ondrejmirtes 51288b7
Fold leaf handler type resolution into result callbacks
ondrejmirtes a9c60e5
Fabricate virtual expression results equal to walked ones
ondrejmirtes d1adbe9
Rework the call handlers around preliminary results and ArgsResult
ondrejmirtes 41f0f57
Read impossible-check verdicts from the call's own result
ondrejmirtes 7170e82
Inline nullsafe short-circuiting and compose receiver narrowing
ondrejmirtes 9ed573b
Fetch handlers read operand results
ondrejmirtes e860e02
Resolve isset, empty and coalesce from chain results
ondrejmirtes 7ac347b
Decompose ternary and match through composed narrowing
ondrejmirtes 017be6d
Build closure types eagerly from the single body walk
ondrejmirtes b5261e3
Thread assigned-value results through the assignment handlers
ondrejmirtes da3de2f
Answer type and narrowing questions from stored ExpressionResults
ondrejmirtes f33d64e
Drop resolveType() and specifyTypes() from ExprHandler
ondrejmirtes 911bfeb
Short-circuit ScopeOps scans over conditional expressions
ondrejmirtes 613afb6
Bump expected turbo version
ondrejmirtes 2728efb
Emit node callbacks after the node's results are stored
ondrejmirtes 217f2f3
Emit condition-statement and assign-target callbacks after their resu…
ondrejmirtes efc936e
Store boolean results before their virtual nodes and defer the foreac…
ondrejmirtes 4703c46
Trim per-store and per-gatherer overhead in the fiber resolver
ondrejmirtes 5ee3a17
Prime the storage for constructor return-type and type-specifying ext…
ondrejmirtes 48858c3
Sum the output-buffer level without walking a synthetic node
ondrejmirtes 23adeb8
Compose static-call and clone-with types without synthetic-node walks
ondrejmirtes aa49c32
Read $this from scope state and document the parent-instantiation walk
ondrejmirtes d3dec69
Memoize function and constant name resolution in BetterReflectionProv…
ondrejmirtes 34244b2
Restore the non-type-driven fast path for the resolved acceptor
ondrejmirtes cb69f5e
Degrade on-demand walks of handler-less nodes to mixed
ondrejmirtes 0d9fa98
Guard FiberScope stored-result reads with the asking scope's variable…
ondrejmirtes 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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this read
withFiber?