mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 21:54:36 +03:00
0b76d29ae4
swc_css_ast: - Add `SelectorLsit`. - Use `SelectorList` instead of `Vec<ComplexSelector>`.
223 lines
6.7 KiB
Plaintext
223 lines
6.7 KiB
Plaintext
error: Stylesheet
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:1
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:3
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:5
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:5
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:12
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:12
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:18
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:18
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:18
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:18
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:18
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:18
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:18
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:20
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:22
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:22
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:29
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:29
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:37
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:37
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:37
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:37
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:37
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:37
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:37
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:39
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:41
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:41
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:48
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/dVUzkh7NtbXySLzWGW0t9g/input.css:1:48
|
|
|
|
|
1 | a { color: red } a { color: green } a { color: red }
|
|
| ^^^
|
|
|