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
Passing a file with non-UTF-8 to a C++-runtime-compiled Antlr 4 parser typically yields an error like:
libc++abi.dylib: terminating with uncaught exception of type std::range_error: wstring_convert: from_bytes error
In this situation a user would greatly benefit from knowing 1) that their file has non-UTF-8 content (nothing in the error message indicates this) and 2) The (preceding-UTF-8-relative) line number and offset of the first non-UTF-8 bytes.