Add new acceptance test scenario 045

Error:
    × Main thread panicked.
    ├─▶ at crates/aiken-lang/src/uplc.rs:3435:48
    ╰─▶ called `Option::unwrap()` on a `None` value
This commit is contained in:
KtorZ 2023-01-18 16:28:44 +01:00
parent 071dc00624
commit 6e64bb72e6
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,5 @@
# This file was generated by Aiken
# You typically do not need to edit this file
requirements = []
packages = []

View File

@ -0,0 +1,3 @@
name = 'aiken-lang/acceptance_test_045'
version = '0.0.0'
description = ''

View File

@ -0,0 +1,15 @@
fn fibonnaci(n) {
if n == 0 {
0
} else if n == 1 {
1
} else {
fibonnaci(n - 2) + fibonnaci(n - 1)
}
}
test foo() {
let right = fn() { fibonnaci(15) == 610 }
let left = False
left || right()
}