2024-01-19 17:02:22 +03:00
|
|
|
---
|
|
|
|
source: tests/golden_tests.rs
|
2024-05-15 01:25:46 +03:00
|
|
|
input_file: tests/golden_tests/compile_file_o_all/scrutinee_reconstruction.bend
|
2024-01-19 17:02:22 +03:00
|
|
|
---
|
2024-05-18 15:01:20 +03:00
|
|
|
@Option/None = ((1 a) a)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-05-18 15:01:20 +03:00
|
|
|
@Option/Some = (a ((0 (a b)) b))
|
2024-04-22 14:20:47 +03:00
|
|
|
|
2024-05-18 15:01:20 +03:00
|
|
|
@Option/or = ((@Option/or__C1 a) a)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
@Option/or__C0 = (a (* b))
|
|
|
|
& @Option/Some ~ (a b)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-05-18 15:01:20 +03:00
|
|
|
@Option/or__C1 = (?((@Option/or__C0 (* (a a))) b) b)
|
|
|
|
|
2024-04-18 18:42:28 +03:00
|
|
|
@main = b
|
2024-05-10 22:42:32 +03:00
|
|
|
& @Option/or ~ (a (@Option/None b))
|
|
|
|
& @Option/Some ~ (5 a)
|