Rephrase error message

This commit is contained in:
Leni Aniva 2024-03-07 21:48:16 -08:00
parent 01a51b4e08
commit 9714c61934
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ fn call_think(s: &str) -> Result<String, usize> {
let n = lean::lean_uint64_of_nat(field) as usize; let n = lean::lean_uint64_of_nat(field) as usize;
Err(n) Err(n)
} else { } else {
unreachable!("Object tag > constructor") unreachable!("Invalid constructor id")
}; };
lean::lean_dec(result_obj); lean::lean_dec(result_obj);
result result