feat: record modules are no longer unimplemented for no fields
refactor: remove some clones and use a ref instead test: add acceptance test 81
This commit is contained in:
5
examples/acceptance_tests/081/aiken.lock
Normal file
5
examples/acceptance_tests/081/aiken.lock
Normal file
@@ -0,0 +1,5 @@
|
||||
# This file was generated by Aiken
|
||||
# You typically do not need to edit this file
|
||||
|
||||
requirements = []
|
||||
packages = []
|
||||
3
examples/acceptance_tests/081/aiken.toml
Normal file
3
examples/acceptance_tests/081/aiken.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
name = "aiken-lang/acceptance_test_081"
|
||||
version = "0.0.0"
|
||||
description = ""
|
||||
4
examples/acceptance_tests/081/lib/other.ak
Normal file
4
examples/acceptance_tests/081/lib/other.ak
Normal file
@@ -0,0 +1,4 @@
|
||||
pub type Thing {
|
||||
FFF
|
||||
GGG(Int)
|
||||
}
|
||||
15
examples/acceptance_tests/081/lib/tests.ak
Normal file
15
examples/acceptance_tests/081/lib/tests.ak
Normal file
@@ -0,0 +1,15 @@
|
||||
use other.{FFF, GGG}
|
||||
|
||||
test thing1() {
|
||||
let x =
|
||||
other.FFF
|
||||
|
||||
x == FFF
|
||||
}
|
||||
|
||||
test thing2() {
|
||||
let x =
|
||||
other.GGG(2)
|
||||
|
||||
x == GGG(2)
|
||||
}
|
||||
Reference in New Issue
Block a user