* refactor: rephrase some parser error messages * update test fixtures * Update packages/babel-parser/src/parser/location.js Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> * address review comments * Update packages/babel-parser/src/parser/location.js Co-Authored-By: Brian Ng <bng412@gmail.com> * update test fixtures Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Brian Ng <bng412@gmail.com>
6 lines
115 B
JSON
6 lines
115 B
JSON
{
|
|
"plugins": [
|
|
"decorators-legacy"
|
|
],
|
|
"throws": "Decorators must be attached to a class element (1:18)"
|
|
} |