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
document const semantics #888
Comments
Related #814 --
Or maybe local consts only? Top level should be |
Why we need const: for Oil blocks. Those shouldn't be variables! |
As of 451ed31 we have static checks for Oil assignment keywords. But there will be an ADDITIONAL dynamic check for const (the one that's already there). I think that's a good compromise. |
TODO: test it both locally and globally. I think the dynamic check kicks in globally, but we'll see |
Done with 0.8.pre11 |
const
because POSIX shell hasreadonly
. We don't want to lose functionality (or make people use old syntax?)https://oilshell.zulipchat.com/#narrow/stream/121540-oil-discuss/topic/nested.20procs.20(Notes.20for.20Oil.200.2E8.2E6)
Considerations:
The text was updated successfully, but these errors were encountered: