Add to-do for bignum integer parsing

This commit is contained in:
2026-05-04 18:56:13 -06:00
parent 94578c90ba
commit 98ab014603

View File

@@ -256,6 +256,7 @@ pub fn expr(db: &dyn Database, ast: AstNode) -> Expr {
Value(match int.contents(db).to_string().parse() {
Ok(val) => Integer(val),
Err(_) => {
// TODO: use bignum
diagnostic::SimpleError::new(int, "failed to parse integer literal").accumulate(db);
Integer(0)
}