feat: Add specific messages for using expect with booleans
TODO: fill out the rest of the expects with messages
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user