Leave trailing comments after handling a possible trailing com… (#10445)

* Leave trailing comments aftre handling a possible trailing comma

* perf
This commit is contained in:
Nicolò Ribaudo
2019-09-23 19:14:43 +02:00
committed by GitHub
parent 962015f7e7
commit 3069747a81
5 changed files with 507 additions and 10 deletions

View File

@@ -250,7 +250,25 @@
"label": null
}
],
"test": null
"test": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " comment",
"start": 47,
"end": 57,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 14
}
}
}
]
}
]
}