make errors more correct and check for utf8 bytes

This commit is contained in:
Brendan Hansknecht 2023-04-04 17:45:23 -07:00
parent 07eb3614ea
commit 08179d2a65
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
2 changed files with 6 additions and 8 deletions

View file

@ -4195,10 +4195,7 @@ pub fn with_hole<'a>(
Stmt::Let(assigned, expr, list_layout, hole)
}
x => todo!(
"Unsupported requested type for ingested file, give proper error: {:?}",
x
),
_ => unreachable!("All of these cases should be dealt with earlier in the compiler, generating proper errors"),
},
SingleQuote(_, _, character, _) => {