mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
* More tests.
This commit is contained in:
parent
dca43ef795
commit
ae55e79541
3 changed files with 9 additions and 1 deletions
|
@ -5,6 +5,6 @@ let {
|
||||||
|
|
||||||
f = {x ? y, y ? x}: x + y;
|
f = {x ? y, y ? x}: x + y;
|
||||||
|
|
||||||
body = f {x = "c";} + f {y = "d";};
|
body = f {};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
1
tests/lang/eval-okay-scope-6.exp
Normal file
1
tests/lang/eval-okay-scope-6.exp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Str("ccdd")
|
7
tests/lang/eval-okay-scope-6.nix
Normal file
7
tests/lang/eval-okay-scope-6.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
let {
|
||||||
|
|
||||||
|
f = {x ? y, y ? x}: x + y;
|
||||||
|
|
||||||
|
body = f {x = "c";} + f {y = "d";};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue