feat: EvalState.require_int

(cherry picked from commit 890441adf963f1a33ba75889cc9735deeefbf51c)
This commit is contained in:
Robert Hensing 2024-04-09 13:13:52 +02:00
parent 4688ccbf95
commit fbbc7cb490
2 changed files with 27 additions and 1 deletions

View file

@ -4,6 +4,8 @@ use std::ptr::{null_mut, NonNull};
// TODO: test: cloning a thunk does not duplicate the evaluation.
pub type Int = i64;
/** The type of a value (or thunk) */
#[derive(Eq, PartialEq, Debug)]
pub enum ValueType {