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:
parent
802e8272c5
commit
35b7066163
|
|
@ -0,0 +1,7 @@
|
||||||
|
# This file was generated by Aiken
|
||||||
|
# You typically do not need to edit this file
|
||||||
|
|
||||||
|
requirements = []
|
||||||
|
packages = []
|
||||||
|
|
||||||
|
[etags]
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
name = "aiken-lang/107"
|
||||||
|
version = "0.0.0"
|
||||||
|
license = "Apache-2.0"
|
||||||
|
description = "Aiken contracts for project 'aiken-lang/107'"
|
||||||
|
|
||||||
|
[repository]
|
||||||
|
user = "aiken-lang"
|
||||||
|
project = "107"
|
||||||
|
platform = "github"
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fn new_list() {
|
||||||
|
[]
|
||||||
|
}
|
||||||
|
|
||||||
|
test foo() {
|
||||||
|
fn() { new_list }()() == []
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue