mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
25 lines
538 B
Plaintext
25 lines
538 B
Plaintext
|
|
x Expected Declaration value
|
|
,-[$DIR/tests/recovery/delim-token/plus/input.css:1:1]
|
|
1 | a {
|
|
2 | prop: +;
|
|
: ^
|
|
3 | prop1: 1 + 2;
|
|
`----
|
|
|
|
x Expected Declaration value
|
|
,-[$DIR/tests/recovery/delim-token/plus/input.css:2:1]
|
|
2 | prop: +;
|
|
3 | prop1: 1 + 2;
|
|
: ^
|
|
4 | prop2: func(1 + 2);
|
|
`----
|
|
|
|
x Expected Declaration value
|
|
,-[$DIR/tests/recovery/delim-token/plus/input.css:3:1]
|
|
3 | prop1: 1 + 2;
|
|
4 | prop2: func(1 + 2);
|
|
: ^
|
|
5 | }
|
|
`----
|