swc/crates/swc_css_parser/tests/recovery/style-blocks-contents/invalid-nested/output.swc-stderr
Donny/강동윤 b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00

17 lines
370 B
Plaintext

x Expected '{'
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----
x Unexpected token
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----