Implement parser warnings
hamishknight opened this issue · comments
Hamish Knight commented
We should start emitting warnings for at least these cases:
- Unnecessary escaping (in e.g extended literals)
- Cases where
-
is treated as literal in a custom character class - When
]
is treated as literal when it is the first member of a custom character class - Certain non-canonical syntax?