Revert adt_option_and change

This commit is contained in:
LunaAmora 2024-01-19 09:56:36 -03:00
parent 4bc5ab45f7
commit e3869bd687
2 changed files with 2 additions and 2 deletions

View File

@ -8,4 +8,4 @@ Option.and = @a @b match a {
None: None
}
main = (Option.and (Some 1))
main = Option.and

View File

@ -2,4 +2,4 @@
source: tests/golden_tests.rs
input_file: tests/golden_tests/run_file/adt_option_and.hvm
---
λa (match a { (Some e): (#Option.Some.val λb λc (Some (c, b)) e); (None): λ* None } 1)
λa match a { (Some g): (#Option.Some.val λb λc (match c { (Some h): (#Option.Some.val λd (λe λf (Some (f, e)) d) h); (None): λ* None } b) g); (None): λ* None }