Sosuke Suzuki
7028a14c7f
fix: throw for constructors with type parameters ( #12065 )
...
* Throw a syntax error for a constructor with type parameters
* Modify to match error location with TypeScript
* Update typescript parser tests
Update allowlist.txt
2020-09-17 13:03:33 -04:00
Brian Ng
8a1d7e41f2
Allow unknown/any in TS catch clause param ( #11755 )
2020-07-29 16:51:48 -04:00
Huáng Jùnliàng
e498bee10f
replace whitelist by allowlist in parser-tests ( #11727 )
2020-06-17 15:32:46 -04:00
Huáng Jùnliàng
2f31ecf85d
fix: allow bigInt in method name and TSLiteralType ( #11547 )
...
* refactor: add isLiteralPropertyName to parser utils
* address review comments [skip-ci]
* refactor: keyword is valid identifierName
* fix: allow bigint in TSLiteralType
* update typescript test whitelist
2020-05-14 18:40:52 -04:00
Huáng Jùnliàng
9fec528016
Reduce false negative cases of typescript parser tests ( #10979 )
...
* tests: read baesline errors for typescript parsing error
* chore: add error codes
* chore: tune the regex
2020-01-10 22:11:10 +01:00
Nicolò Ribaudo
bfc56ebbab
Update Test262, Flow and TS parser tests ( #10976 )
...
* Update Test262, Flow and TS parser tests
* Updates
2020-01-10 09:50:11 -05:00
Huáng Jùnliàng
8fd532db39
LiteralPropertyName should allow BigIntLiteral ( #10955 )
...
* fix: property name should allow BigIntLiteral
* test: add non decimal test case
* add bigintIndex to whitelist
2020-01-07 10:23:50 -05:00
Nicolò Ribaudo
e74efd2c0a
Run parser tests from the official TypeScript parser ( #10444 )
2019-12-03 01:09:54 +01:00