VM: can't go through the accessor here because it triggers the assert
parent
0274e889b9
commit
867c85f1c5
|
@ -539,7 +539,7 @@ struct factor_vm {
|
||||||
// tagged
|
// tagged
|
||||||
template <typename Type> void check_tagged(tagged<Type> t) {
|
template <typename Type> void check_tagged(tagged<Type> t) {
|
||||||
if (!t.type_p())
|
if (!t.type_p())
|
||||||
type_error(Type::type_number, t.value());
|
type_error(Type::type_number, t.value_);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Type> Type* untag_check(cell value) {
|
template <typename Type> Type* untag_check(cell value) {
|
||||||
|
|
Loading…
Reference in New Issue