mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 10:55:31 +03:00
Merge pull request #6999 from roc-lang/update-plans
Include shadowing in Plans page
This commit is contained in:
commit
2423ce2272
@ -22,6 +22,12 @@ Implementing the very important [module params](https://docs.google.com/document
|
||||
|
||||
Work has not started on this yet, but we'd like to have the project completed sometime in 2024.
|
||||
|
||||
### [Shadowing](#shadowing) {#shadowing}
|
||||
|
||||
Shadowing is [currently disallowed](https://www.roc-lang.org/functional#no-reassignment), which means that once a name has been assigned to a value, nothing in the same scope can assign it again.
|
||||
|
||||
The plan is to enable shadowing in a future re-write of the [Canonicalization](https://en.wikipedia.org/wiki/Canonicalization) pass as a trial to see if it's a good idea. If it turns out that shadowing isn't the best fit for Roc, we'll remove it as we've done for other experiments, e.g. backpassing.
|
||||
|
||||
### Platform Author Specific Breaking Changes
|
||||
|
||||
All of the following changes only affect platform authors.
|
||||
|
Loading…
Reference in New Issue
Block a user