tweag / nickel

Better configuration for less
https://nickel-lang.org/
MIT License
2.24k stars 84 forks source link

[Fix] Fix enum contract stripping unwrapping variant argument #1833

Closed yannham closed 4 months ago

yannham commented 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.

dpulls[bot] commented 4 months ago

:tada: All dependencies have been resolved !