-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
plutus-core/untyped-plutus-core/test/Transform/CaseOfCase/1.uplc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
[ | ||
(force | ||
[ | ||
[ (force (builtin ifThenElse)) b_0 ] | ||
(case (constr 0) (con integer 1) (con integer 2)) | ||
[ | ||
[ (force (builtin ifThenElse)) b_0 ] | ||
(delay (case (constr 0) (con integer 1) (con integer 2))) | ||
] | ||
(delay (case (constr 1) (con integer 1) (con integer 2))) | ||
] | ||
(case (constr 1) (con integer 1) (con integer 2)) | ||
] | ||
) |
12 changes: 7 additions & 5 deletions
12
plutus-core/untyped-plutus-core/test/Transform/CaseOfCase/3.uplc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
[ | ||
(force | ||
[ | ||
[ (force (builtin ifThenElse)) b_0 ] | ||
(case (constr 0 x_1 xs_2) f_3 (con integer 2)) | ||
[ | ||
[ (force (builtin ifThenElse)) b_0 ] | ||
(delay (case (constr 0 x_1 xs_2) f_3 (con integer 2))) | ||
] | ||
(delay (case (constr 1) f_3 (con integer 2))) | ||
] | ||
(case (constr 1) f_3 (con integer 2)) | ||
] | ||
) |
12 changes: 7 additions & 5 deletions
12
plutus-core/untyped-plutus-core/test/Transform/CaseOfCase/withError.uplc.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
[ | ||
(force | ||
[ | ||
[ (force (builtin ifThenElse)) (con bool True) ] | ||
(case (constr 0) (con unit ()) (error)) | ||
[ | ||
[ (force (builtin ifThenElse)) (con bool True) ] | ||
(delay (case (constr 0) (con unit ()) (error))) | ||
] | ||
(delay (case (constr 1) (con unit ()) (error))) | ||
] | ||
(case (constr 1) (con unit ()) (error)) | ||
] | ||
) |