oxc/tasks
leaysgur 1686920e23 fix(parser): Span for invalid regex flags (#5225)
### Before
```
  x Flag u is mentioned twice in regular expression literal
   ,-[1:20]
 1 | const a = /\2(.)/uuxig;
   :                    ^
 2 | debugger;
   `----

  x Unexpected flag x in regular expression literal
   ,-[1:21]
 1 | const a = /\2(.)/uuxig;
   :                     ^
 2 | debugger;
   `----
```

### After
```
  x Flag u is mentioned twice in regular expression literal
   ,-[1:19]
 1 | const a = /\2(.)/uuxig;
   :                   ^
 2 | debugger;
   `----

  x Unexpected flag x in regular expression literal
   ,-[1:20]
 1 | const a = /\2(.)/uuxig;
   :                    ^
 2 | debugger;
   `----
```
2024-08-26 10:24:47 +00:00
..
ast_tools chore: bump rustc to v1.80.1 (#5211) 2024-08-26 13:11:29 +08:00
benchmark chore(tasks): parse regular expression in parser benchmark (#5212) 2024-08-26 13:11:09 +08:00
common feat(coverage): check symbols and scopes after transformation (#4917) 2024-08-16 07:05:11 +00:00
coverage fix(parser): Span for invalid regex flags (#5225) 2024-08-26 10:24:47 +00:00
javascript_globals chore: turn off doctest for all [[bin]] 2024-07-14 16:55:19 +08:00
lint_rules feat(docs): add tracking for plugins "promise" and "vitest" (#4668) 2024-08-05 19:01:44 -04:00
minsize feat(codegen)!: remove const generic MINIFY (#5001) 2024-08-20 08:13:27 +00:00
prettier_conformance refactor(parser)!: remove builder pattern from Parser struct (#5000) 2024-08-20 07:40:25 +00:00
rulegen feat(rulegen): improve examples in documentation (#4815) 2024-08-10 18:48:59 -04:00
transform_conformance fix(transformer/arrow-functions): remove SymbolFlags::ArrowFunction (#5190) 2024-08-25 10:27:00 +00:00
website chore: bump rustc to v1.80.1 (#5211) 2024-08-26 13:11:29 +08:00