Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upForbid assigning to a slice #1629
Comments
|
hey, can i take this issue ? |
|
Yes, thanks a lot! |
|
@parzuko are you working on this? if not would like to take this up. |
|
@sudo-k-runner feel free to take it |
|
@sobolevn cool! kinda new to this, so would be great if I can get some pointers. Thanks! |
|
I recommed to start with our |
|
sure thing! Thanks |


Rule request
Thesis
There might be some crazy examples of mutation, when assigning to a slice:
So, let's ban this.
However, we still allow regular index assignments:
Is ok.