mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
19 lines
500 B
Plaintext
19 lines
500 B
Plaintext
|
|
x Start tag seen without seeing a doctype first, expected "<!DOCTYPE html>"
|
|
,-[$DIR/tests/recovery/element/applet/input.html:1:1]
|
|
1 | <b><applet></b>x
|
|
: ^^^
|
|
`----
|
|
|
|
x No "b" element in scope but a "b" end tag seen
|
|
,-[$DIR/tests/recovery/element/applet/input.html:1:1]
|
|
1 | <b><applet></b>x
|
|
: ^^^^
|
|
`----
|
|
|
|
x End of file seen and there were open elements
|
|
,-[$DIR/tests/recovery/element/applet/input.html:1:1]
|
|
1 | <b><applet></b>x
|
|
: ^
|
|
`----
|