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
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# This file was generated by Aiken
# You typically do not need to edit this file
requirements = []
packages = []
[etags]

View File

@ -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"

View File

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