-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Optional chaining #6973
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
ShortDevelopment
wants to merge
37
commits into
chakra-core:master
Choose a base branch
from
ShortDevelopment:feat-optional-chaining
base: master
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
Optional chaining #6973
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
b2f5f1b
Basic parsing
ShortDevelopment 8e9abda
Config flag
ShortDevelopment 2f84eb1
Parse call
ShortDevelopment 6538ef0
Basic byte-code emission
ShortDevelopment a33799e
Check for `null` not truthy
ShortDevelopment caccbc6
Fix copyright
ShortDevelopment 2cde756
Use less branches
ShortDevelopment f833213
More copyright fixes
ShortDevelopment d2377a4
Don't break ternary with decimal numbers
ShortDevelopment 6a2c0ec
Honor `buildAST`
ShortDevelopment e3820ec
Tagged template in optional chain is syntax error
ShortDevelopment cc54764
short-circuit indexer expressions
ShortDevelopment 9e11b34
Simple method call
ShortDevelopment 2498b2d
Comments and review
ShortDevelopment 63093df
Merge branch 'master' into feat-optional-chaining
ShortDevelopment 6e7d935
Fix optChain right before function call
ShortDevelopment 9369845
Fix `this` propagation
ShortDevelopment ba32362
Basic tests
ShortDevelopment c8297ec
Fix jit `_ReuseLoc`
ShortDevelopment 8baa9e6
Don't use `LdMethodFld`
ShortDevelopment 8c4eddf
Add call tests + Split into multiple files
ShortDevelopment f48dc1b
Treat `eval?.()` as indirect `eval`
ShortDevelopment 05790ae
Started optional-deletion
ShortDevelopment 3b5d8d5
Merge branch 'master' into feat-optional-chaining
ShortDevelopment a18431e
Test optional-call in eval
ShortDevelopment d96b76b
Ensure `isUsed` is set if `MustProduceValue`
ShortDevelopment 0abf9c2
Copy `isUsed` for robustness
ShortDevelopment a2709e7
Test for opt-call of root function
ShortDevelopment 8210f62
Async tests
ShortDevelopment 629cb8a
Add test for indirect eval
ShortDevelopment 55dea9f
Add tests for jit
ShortDevelopment 2aaa1c9
Test opt-chain arguments
ShortDevelopment 835a4fa
Copy `isNullPropagating` in `CopyPnode`
ShortDevelopment 72aac4a
Tests for `delete` operator
ShortDevelopment 174e7bf
Fix `delete` operator result
ShortDevelopment 4b61a6f
Merge branch 'master' into feat-optional-chaining
ShortDevelopment eaa44b6
Test optional property is only called once
ShortDevelopment 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
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.