Closed yannham closed 4 months ago
Depends on #1835
Fix a bug introduced with enum variant contracts, which would cause a contract such as [| 'Foo Number |] to unwrap the numeric argument of a matching value, that is 'Foo 5 | [| 'Foo Number |] would evaluate to 5 instead of 'Foo 5.
[| 'Foo Number |]
'Foo 5 | [| 'Foo Number |]
5
'Foo 5
:tada: All dependencies have been resolved !
Depends on #1835
Fix a bug introduced with enum variant contracts, which would cause a contract such as
[| 'Foo Number |]
to unwrap the numeric argument of a matching value, that is'Foo 5 | [| 'Foo Number |]
would evaluate to5
instead of'Foo 5
.