feat: Add specific messages for using expect with booleans

TODO: fill out the rest of the expects with messages
This commit is contained in:
microproofs
2024-01-02 21:52:01 -05:00
committed by Kasey
parent 7b452c21f0
commit 71cfb6f6af
8 changed files with 184 additions and 68 deletions

View File

@@ -49,7 +49,7 @@ impl Validator {
module: &CheckedModule,
def: &TypedValidator,
) -> Vec<Result<Validator, Error>> {
let program = generator.generate(def).try_into().unwrap();
let program = generator.generate(def, &module.name).try_into().unwrap();
let is_multi_validator = def.other_fun.is_some();