Skip to content

fix issue with sigil recursion - #18084

Merged
fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_sigil_18082
Apr 21, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
fdncred:fix_sigil_18082

Conversation

@fdncred

@fdncred fdncred commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fix recursion issue with sigil. This occurred because the predeclaration was wrong.

User-facing changes (Release notes)

Fixed internal sigil recursion error

Fixed an issue where if you used the built-in sigil you might get a recursion error like this. This no longer happens.

/> def ls [] { %ls | move name --last }
/> ls
Error: nu::shell::recursion_limit_reached

  × Recursion limit (50) reached
   ╭─[repl_entry #16:1:11]
 1 │ def ls [] { %ls | move name --last }
   ·           ─────────────┬────────────
   ·                        ╰── This called itself too many times
   ╰────

/>

Additional notes

closes #18082

@fdncred fdncred added notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes labels Apr 21, 2026
@github-actions github-actions Bot added the A:parser Issues related to parsing label Apr 21, 2026
@fdncred
fdncred merged commit 65bf0f6 into nushell:main Apr 21, 2026
18 checks passed
@fdncred
fdncred deleted the fix_sigil_18082 branch April 21, 2026 21:43
@github-actions github-actions Bot added this to the v0.113.0 milestone Apr 21, 2026
cptpiepmatz pushed a commit to cptpiepmatz/nushell that referenced this pull request Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A:parser Issues related to parsing notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Builtin sigil errors when wrapping builtin with command of same name

1 participant