mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
3714802bd3
swc_css_ast: - Add `Rule::Invalid`. swc_css_parser: - Add error recovery for tokens in selector positions. - Report an error while recovering property errors.
19 lines
601 B
Plaintext
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%;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|