Project version
0.5.0-rc.0
Project
compiler
What happened?
Error rendering is shifted when UTF-16 symbols are present in the code.
Almost the same issue as in #223 (comment), but in compiler itself.
Minimal reproduction steps
Compile this program:
fn main(){
/*😀😀*/ let a: u8 = 65536;
}
and error would look like this:
|
2 | /*😀😀*/ let a: u8 = 65536;
| ^^^^^ Cannot parse: number too large to fit in target type