Rephrase error message
This commit is contained in:
parent
01a51b4e08
commit
9714c61934
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue