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:
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