Skip to content

Commit

Permalink
patch: vm issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludo Galabru committed Dec 3, 2022
1 parent f01be72 commit e8ad180
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clarity/src/vm/types/signatures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,8 @@ impl TypeSignature {
l1.insert(y.clone());
Ok(ListUnionType(l1))
}
(PrincipalType, CallableType(CallableSubtype::Principal(_))) => Ok(PrincipalType),
(CallableType(CallableSubtype::Principal(_)), PrincipalType) => Ok(PrincipalType),
(CallableType(x), ListUnionType(l)) => {
let mut l1 = l.clone();
l1.insert(x.clone());
Expand Down

0 comments on commit e8ad180

Please sign in to comment.