Go back to inlining during typing #5382
Closed
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.
This is a tentative PR to move inlining back to typer. This will be needed if we want to address #5381.
Reverts the following commits:
Join containsQuotesOrSplices and containsInlineCalls (reverted from commit 8cf1385)
Make InlineCalls an object (reverted from commit ad26554)
Remove Inlined and InlineProxy from TASTy (reverted from commit 976e095)
Move inlining inside Reify quotes
Split some neg tests as now only the first error is emitted. (reverted from commit 21e65f1)
Erase rhs of erased non inlined val/def in PostTyper (reverted from commit c12e875)
Add isInlineCall to TreeInfo (reverted from commit 954c25b)
Update doc (reverted from commit 0832e02)
Only run InlineCalls if the tree contains an inline call (reverted from commit f28e2e1)
Check if unpickled tree has inline nodes (reverted from commit 927ae4e)
Add a bit of documentation (reverted from commit da0c249)
Fix constant folding during inlining (reverted from commit 32c8798)
Move inline β-reduction after Pickler (reverted from commit c68dc1f)
Normalize call at Inlined node creation (reverted from commit 746fdd7)
Move inline β-reduction after post typer (reverted from commit 432eb0a)
Move inline β-reduction out of typer (reverted from commit 6acaf31)