Huáng Jùnliàng d67629b114
fix: throw expect jsx plugin error when an idStart or > is seen (#11774)
* fix: throw expect jsx plugin error when an idStart or > is seen

* fix: avoid throwing undefined

* add test case
2020-07-01 15:17:05 -04:00

6 lines
97 B
JSON

{
"sourceType": "module",
"plugins": ["jsx", "flow"],
"throws": "Unexpected token (1:0)"
}