Uh oh!
There was an error while loading. Please reload this page.
repl: fix top level await with surrogate characters - #39931
Conversation
Uh oh!
There was an error while loading. Please reload this page.
This does not work for entries like |
Trott
commented
Aug 29, 2021
While getting it exactly right is, of course, preferred, it's totally OK to land something that is an improvement that still leaves some edge cases unsolved. |
b14b25e to
458a9fdCompareMesteery
commented
Aug 29, 2021
Ok, thanks! Finally I succeeded, and I don't know why I was looking for a complex solution. Just break the surrogates, so the array has the same length as the string and the surrogates will normally not be broken at the end (unless there is a bug with some indexes or acorn, but I doubt it) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Fixes: nodejs#39929 PR-URL: nodejs#39931 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
targos
commented
Sep 8, 2021
Landed in addb30f |
Fixes: #39929