[sc-517] Remove snapshots of removed tests

This commit is contained in:
Nicolas Abril 2024-03-29 11:06:22 +01:00
parent b18df385a2
commit d60935d3de
21 changed files with 0 additions and 228 deletions

View File

@ -1,5 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file/implicit_match_in_match_arg.hvm
---
@main = (?<#0 (a a) ?<#0 (b b) c>> c)

View File

@ -1,60 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file/match_num_all_patterns.hvm
---
Warnings:
In definition 'succ_var':
Definition is unused.
In definition 'succ_var_zero':
Definition is unused.
In definition 'succ_zero':
Definition is unused.
In definition 'succ_zero_succ':
Definition is unused.
In definition 'succ_zero_var':
Definition is unused.
In definition 'var_succ':
Definition is unused.
In definition 'var_zero':
Definition is unused.
In definition 'zero_succ':
Definition is unused.
In definition 'zero_succ_var':
Definition is unused.
In definition 'zero_var':
Definition is unused.
In definition 'zero_var_succ':
Definition is unused.
@main = #0
@succ_var = (?<#0 (a a) b> b)
@succ_var_zero = (?<@succ_var_zero$C0 @succ_var_zero$C1 a> a)
@succ_var_zero$C0 = a
& #0 ~ <+ #1 a>
@succ_var_zero$C1 = (<+ #2 a> a)
@succ_zero = (?<#0 (a a) b> b)
@succ_zero_succ = (?<#0 (a a) b> b)
@succ_zero_var = (?<#0 (a a) b> b)
@var_succ = (a a)
@var_zero = (a a)
@zero_succ = (?<#0 (a a) b> b)
@zero_succ_var = (?<#0 (a a) b> b)
@zero_var = (?<#0 @zero_var$C0 a> a)
@zero_var$C0 = (<+ #1 <- #1 a>> a)
@zero_var_succ = (?<#0 @zero_var_succ$C0 a> a)
@zero_var_succ$C0 = (<+ #1 <- #1 a>> a)

View File

@ -1,15 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file/match_num_unscoped_lambda.hvm
---
Warnings:
In definition 'lambda_in':
Definition is unused.
In definition 'lambda_out':
Definition is unused.
@lambda_in = (?<(a a) (b (c b)) (c d)> d)
@lambda_out = (?<a (b b) c> (a c))
@main = *

View File

@ -1,13 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file/repeated_bind_match.hvm
---
Warnings:
In definition 'main':
Repeated bind inside match arm: 'x'.
@List.cons = (a (b {2 {2 a {2 b c}} {2 * c}}))
@List.nil = {2 * {2 a a}}
@main = ({2 {2 * {2 a a}} {2 * b}} b)

View File

@ -1,8 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file/snd.hvm
---
@4 = ([* a] a)
@main = a
& @4 ~ ([#0 #42] a)

View File

@ -3,4 +3,3 @@ source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/addition_var_fst.hvm
---
@main = (<+ #1 a> a)

View File

@ -3,4 +3,3 @@ source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/eta_chain.hvm
---
@main = (<+ a b> (<+ c a> (c b)))

View File

@ -3,4 +3,3 @@ source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/hvm1_main.hvm
---
@main = (a a)

View File

@ -1,11 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/let_adt_destructuring.hvm
---
@Box = (a {2 {2 a b} b})
@Unbox = ({2 {2 a a} b} b)
@main = a
& @Unbox ~ (b a)
& @Box ~ (#1 b)

View File

@ -1,8 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/let_adt_non_exhaustive.hvm
---
Errors:
In definition 'main':
Non-exhaustive pattern matching. Hint:
Case 'None' not covered.

View File

@ -1,9 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/nested_adt_match.hvm
---
@Some = (a {2 {2 a b} {2 * b}})
@main = a
& @Some ~ (b {2 {2 {2 {2 c c} {2 #0 d}} d} {2 #0 a}})
& @Some ~ (#1 b)

View File

@ -3,4 +3,3 @@ source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/unapplied_eta.hvm
---
@main = (a a)

View File

@ -3,4 +3,3 @@ source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/unscoped_eta.hvm
---
@main = (a a)

View File

@ -1,53 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/encode_pattern_match/match_many_args.hvm
---
TaggedScott:
(tail_tail) = λa #L (a #L λ* #L λc #L (c #L λ* #L λe e N) N)
(or) = λa λb (#Option (b #Option λc λ* c λe e) a)
(or2) = λa λb (#Option (a #Option λc λ* c λe e) b)
(map) = λa λb (#Option (b #Option λc λd (d c) λ* None) a)
(map2) = λa λb (#Option (b #Option λc λd (d c) λ* None) a)
(flatten) = λa #Option (a #Option λb #Option (b #Option λc (Some c) None) None)
(map_pair) = λa λb λc (#L (b #L λd #L λe λf λg (#L (g #L λh #L λi λj λk λl (C (j k h) (map_pair l i)) λ* λ* λ* N) f d e) λ* λ* N) a c)
(main) = *
(C) = λa λb #L λc #L λ* #L (c a b)
(N) = #L λ* #L λb b
(Some) = λa #Option λb #Option λ* #Option (b a)
(None) = #Option λ* #Option λb b
Scott:
(tail_tail) = λa (a λ* λc (c λ* λe e N) N)
(or) = λa λb (b λc λ* c λe e a)
(or2) = λa λb (a λc λ* c λe e b)
(map) = λa λb (b λc λd (d c) λ* None a)
(map2) = λa λb (b λc λd (d c) λ* None a)
(flatten) = λa (a λb (b λc (Some c) None) None)
(map_pair) = λa λb λc (b λd λe λf λg (g λh λi λj λk λl (C (j k h) (map_pair l i)) λ* λ* λ* N f d e) λ* λ* N a c)
(main) = *
(C) = λa λb λc λ* (c a b)
(N) = λ* λb b
(Some) = λa λb λ* (b a)
(None) = λ* λb b

View File

@ -19,5 +19,3 @@ Scott:
(bar_1) = λa (a bar_2)
(bar_2) = λa λb (a, b)

View File

@ -1,9 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/encode_pattern_match/nested_let_tup.hvm
---
TaggedScott:
(main) = let (*, h) = let (*, c) = (10, ((1, ((2, 3), 4)), 3)); let (d, *) = c; d; let (i, *) = h; let (k, *) = i; k
Scott:
(main) = let (*, h) = let (*, c) = (10, ((1, ((2, 3), 4)), 3)); let (d, *) = c; d; let (i, *) = h; let (k, *) = i; k

View File

@ -15,5 +15,3 @@ Scott:
(Id2) = λa a
(Pair) = λa λb (a, b)

View File

@ -1,9 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/run_file/box2.hvm
---
Lazy mode:
(Box 4)
Strict mode:
(Box 4)

View File

@ -1,5 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/run_file/multi_num_match.hvm
---
(([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1152921504606846975]), [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 0])

View File

@ -1,9 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/run_file/nested_let_tup.hvm
---
Lazy mode:
2
Strict mode:
2

View File

@ -1,5 +0,0 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/run_lazy/nested_let_tup.hvm
---
2