Introduce acceptance test 107 illustrating compiler crash
```
crates/aiken-lang/src/gen_uplc.rs:4515:30
internal error: entered unreachable code: Shouldn't call anything other than var or apply
Lambda {
parameter_name: Name {
text: "__no_inline__",
unique: Unique(
0,
),
},
body: Var(
Name {
text: "tests_new_list_unbound",
unique: Unique(
0,
),
},
),
}
```
This commit is contained in:
7
examples/acceptance_tests/107/lib/tests.ak
Normal file
7
examples/acceptance_tests/107/lib/tests.ak
Normal file
@@ -0,0 +1,7 @@
|
||||
fn new_list() {
|
||||
[]
|
||||
}
|
||||
|
||||
test foo() {
|
||||
fn() { new_list }()() == []
|
||||
}
|
||||
Reference in New Issue
Block a user