Closed saifalkatout closed 11 months ago
@Y-Nak how pivotal is the removal of unnecessary commits ? I tried to revert and rebase but nothing seemed to work, I can delete my branch and push the changes again if necessary.
You can squash these commits(you probably need to use git rabase -i
command). (NOTE: I can squash your changes on github, but I think this would be a nice opportunity for you to get used to git.)
Also, from the next time, it'd be nice to specify a base branch when you checkout to a new branch, like git checkout -b your-branch upstream/fe-v2
or something.
@saifalkatout oh, you didn't need to close this. You could squash, then force push.
I am sort of experimenting with it, To see how I could revert back. If you check my fork Im at 17 commits ahead 😂
What was wrong?
The new parser (v2 branch) wrongly supposes the assignment destination is a pattern, but it should be an expression.
How was it fixed?
Parse lhs in assignment statements as an expression.
To-Do