-
Notifications
You must be signed in to change notification settings - Fork 47
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
Optional chaining #16
base: master
Are you sure you want to change the base?
Conversation
An example is:
The expected output has this in the output:
Where the actual just doesn't have "expression": {
"arguments": [],
"callee": {
"loc": {
"end": {
"column": 25,
"line": 1
},
"start": {
"column": 20,
"line": 1
}
},
"name": "sayHi",
"range": [
20,
25
],
"type": "Identifier"
},
"loc": {
"end": {
"column": 27,
"line": 1
},
"start": {
"column": 20,
"line": 1
}
},
"optional": false,
"range": [
20,
27
],
"type": "CallExpression"
}
|
Update: I was using the Removed unsupported tests. I plan on pulling in the following PRs in the near future: jquery/esprima#1190 Only two problems left to fix |
@Kronuz : spent a bit more time but I'm not sure how to where the last errors are coming from. On "init": {
"loc": {
"end": {
"column": 41,
"line": 1
},
"start": {
"column": 8,
"line": 1
}
},
"range": [
8,
41
],
"raw": "/[\\uD834\\uDF06-\\uD834\\uDF08a-z]/u",
"regex": {
"flags": "u",
"pattern": "[\\uD834\\uDF06-\\uD834\\uDF08a-z]"
},
"type": "Literal",
"value": {}
} I'm not sure where Any help you can provide would be appreciated |
Any idea when this is going to be done and merged? |
@djn3m0 I dropped this work since I changed positions, sorry. IIRC we changed from |
Hi All,
This PR is a port of the following PR from the main
esprima
project:jquery/esprima#2048
I've hit a bit of a wall when running unit tests getting the added
optional
parameter to get serialized whentoDict
is called. Any help you can provide to fix that and get this merged would be great!