Please have a look at these screenshots:
-
caret at column 40:
http://i.imgur.com/utZNh3G.png -
caret at column 41:
http://i.imgur.com/fpziSWY.png
Closing bracket (at column 40) is skipped from validation. Problem seems to be opening square bracket next to double closed brackets (as in this case) and probably in similar situations.
Type of bracket doesn’t play any role i.e. it’s same if square bracket in regular bracket, but it’s easier to demonstrate this way