Skip to content

Commit

Permalink
fix: Serialise dynamically computed opaqueOp signatures (#690)
Browse files Browse the repository at this point in the history
These were the wrong way around.

Closes #683
  • Loading branch information
aborgna-q authored Nov 14, 2023
1 parent 867af89 commit d20bc74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extension/op_def.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ impl OpDef {

pub(crate) fn should_serialize_signature(&self) -> bool {
match self.signature_func {
SignatureFunc::TypeScheme { .. } => true,
SignatureFunc::CustomFunc { .. } => false,
SignatureFunc::TypeScheme { .. } => false,
SignatureFunc::CustomFunc { .. } => true,
}
}

Expand Down

0 comments on commit d20bc74

Please sign in to comment.