Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assoc error key should be strings error is confusing with unset #1898

Closed
andychu opened this issue Apr 5, 2024 · 1 comment
Closed

Assoc error key should be strings error is confusing with unset #1898

andychu opened this issue Apr 5, 2024 · 1 comment

Comments

@andychu
Copy link
Contributor

andychu commented Apr 5, 2024

Because unset takes an expression as a string arg

Where as declare doesn't

https://oilshell.zulipchat.com/#narrow/stream/307442-nix/topic/Assoc.20Array.20Quoting

@andychu andychu added the errors label Apr 5, 2024
andychu pushed a commit that referenced this issue Apr 6, 2024
- Hit by Samuel's testing of Nix.  Two instances
- Explained in "Parsing Bash is Undecideable" - it's dynamic parsing

This is issue #1898.
@andychu
Copy link
Contributor Author

andychu commented Jun 20, 2024

@andychu andychu closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant