mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 19:29:36 +01:00
Fix parsing of variable names that are a suffix of '__curPos'
Follow-up from #5969
Fix #5982
(cherry picked from commit f113ea6c73)
This commit is contained in:
parent
a1cd7e5860
commit
21c23031c1
3 changed files with 4 additions and 1 deletions
1
tests/lang/eval-okay-regression-20220125.exp
Normal file
1
tests/lang/eval-okay-regression-20220125.exp
Normal file
|
|
@ -0,0 +1 @@
|
|||
3
|
||||
2
tests/lang/eval-okay-regression-20220125.nix
Normal file
2
tests/lang/eval-okay-regression-20220125.nix
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((__curPosFoo: __curPosFoo) 1) + ((__curPosBar: __curPosBar) 2)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue