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:
KtorZ
2024-07-27 14:12:09 +02:00
parent 802e8272c5
commit 35b7066163
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
fn new_list() {
[]
}
test foo() {
fn() { new_list }()() == []
}