diff options
| author | tslil <tslil@posteo.de> | 2026-04-29 17:44:31 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-04-29 17:46:58 +0100 |
| commit | c579060a7879670d010d649536996bb063dbe689 (patch) | |
| tree | be225e960aef1e818fd672e52706831a7abadaa9 /src | |
| parent | 2e087fc93f457ab6cd94dd57f719a27bcf7de796 (diff) | |
unconditionally check codomain for var
Diffstat (limited to 'src')
| -rw-r--r-- | src/checker_signature.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/checker_signature.rs b/src/checker_signature.rs index bf04308..9512790 100644 --- a/src/checker_signature.rs +++ b/src/checker_signature.rs @@ -224,9 +224,7 @@ impl CheckerState { "It should have been impossible to construct an Ext with no params, but here we are" ); } - if params.len() == 1 - && let Some(signature) = signature - { + if let Some(signature) = signature { if !self.equal(&**codomain, signature) { return Err(CheckerError::WrongSignatureForInstance { value: instance.clone().into(), |
