swc/css/parser/tests/recovery/styled-jsx/1/output.swc-stderr
Donny/강동윤 3714802bd3
feat(css): Add error recovery for tokens in selector positions (#2357)
swc_css_ast:
 - Add `Rule::Invalid`.
 
swc_css_parser:
 - Add error recovery for tokens in selector positions.
 - Report an error while recovering property errors.
2021-10-06 09:25:05 +00:00

19 lines
601 B
Plaintext

error: Expected a property value
--> $DIR/tests/recovery/styled-jsx/1/input.css:10:16
|
10 | flex-basis: __styled-jsx-placeholder__2%;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Expected a property value
--> $DIR/tests/recovery/styled-jsx/1/input.css:16:20
|
16 | flex-basis: __styled-jsx-placeholder__3%;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Expected a property value
--> $DIR/tests/recovery/styled-jsx/1/input.css:22:20
|
22 | flex-basis: __styled-jsx-placeholder__4%;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^