You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is very different to (note the space after func denoting that what comes after the space should be a parameter)
func (x)->
Where the first would compile to something like:
func(x); function(x) { };
and the second would compile to something like:
func(function(x) { });
However they seem to be highlighted the same way. It would be very helpful if the syntax highlighter highlighted these cases differently.
The text was updated successfully, but these errors were encountered:
captainbland
changed the title
Highlighting for ambiguous anonymous function calls passed as parameters
Highlighting for ambiguous anonymous functions passed as parameters
Nov 9, 2015
For:
The meaning of:
is very different to (note the space after func denoting that what comes after the space should be a parameter)
Where the first would compile to something like:
and the second would compile to something like:
However they seem to be highlighted the same way. It would be very helpful if the syntax highlighter highlighted these cases differently.
The text was updated successfully, but these errors were encountered: