mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
|
|
x Start tag seen without seeing a doctype first, expected "<!DOCTYPE html>"
|
|
,-[$DIR/tests/recovery/attribute/missing-value/input.html:1:1]
|
|
1 | <div>test</div>
|
|
: ^^^^^
|
|
2 | <a a=>
|
|
`----
|
|
|
|
x Missing attribute value
|
|
,-[$DIR/tests/recovery/attribute/missing-value/input.html:1:1]
|
|
1 | <div>test</div>
|
|
2 | <a a=>
|
|
: ^
|
|
3 | <div>test</div>
|
|
`----
|
|
|
|
x Unexpected equals sign before attribute name
|
|
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
|
|
3 | <div>test</div>
|
|
4 | <z ====>
|
|
: ^
|
|
`----
|
|
|
|
x Unexpected character in unquoted attribute value
|
|
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
|
|
3 | <div>test</div>
|
|
4 | <z ====>
|
|
: ^
|
|
`----
|
|
|
|
x Unexpected character in unquoted attribute value
|
|
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
|
|
3 | <div>test</div>
|
|
4 | <z ====>
|
|
: ^
|
|
`----
|
|
|
|
x End of file seen and there were open elements
|
|
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
|
|
3 | <div>test</div>
|
|
4 | <z ====>
|
|
: ^
|
|
`----
|