cl-interpret/pattern: Fail on mismatch again
This commit is contained in:
parent
27d1d07ed8
commit
9b460afed4
@ -176,9 +176,9 @@ pub fn append_sub<'pat>(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
(pat, value) => {
|
||||
eprintln!("Could not match pattern `{pat}` with value `{value}`!");
|
||||
Ok(())
|
||||
_ => {
|
||||
// eprintln!("Could not match pattern `{pat}` with value `{value}`!");
|
||||
Err(Error::NotAssignable)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user