Closed mrice32 closed 5 years ago
Thank you very much for this report. Fixed in 1.1.10
. Please write back if you find any other issue.
Thank you!
Still have the problem of loop. It doesn't work when the code is like
for (i=1; i < n; i ++)
but it works when the code is like:
for (i = i; i < n; i++)
Is that as expected? I just feel really weird... My Ethereum package version: v1.1.20, Sublime Text: v3.2.1 Screenshots attached:
Thanks!
Thank you very much for this.
I did two things in v1.1.21
:
for (strinfg i = 0; i < n; i++) {
I hope this fix didn't break something else, I checked on example contracts and the highlighter code itself is of enough quality that this should not be the case but still - would be grateful for checks by others... as always, report if you still find something, will be fixed....
Thanks so much!
For for loops that contain an
=
in the third statement, syntax parsing seems to break going forward. The following for loop would break, for example:I've provided a screenshot as well.