You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Single line comments in files using CRLF line endings result in the rest of the file being ignored.
To Reproduce
Since a file is required the best way to demonstrate the bug is to run with the following file: cargo run -- test.txttest.txt
The file contains:
console.log('0')
// .
console.log('1')
Expected behavior boa should output:
0
1
undefined
but instead we do not get the 1
This is probably what caused us to not see an increase in the number of passing test262 tests, a lot of them are not being lexed correctly.
Single line comments in files using CRLF line endings result in the rest of the file being ignored.
To Reproduce
Since a file is required the best way to demonstrate the bug is to run with the following file:
cargo run -- test.txt
test.txtThe file contains:
Expected behavior
boa
should output:but instead we do not get the
1
This is probably what caused us to not see an increase in the number of passing test262 tests, a lot of them are not being lexed correctly.
Identified by @tofpie in #961 (comment)
The text was updated successfully, but these errors were encountered: