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
Arrow functions seem to break if you use metadata on their first argument (in 4.0.0-rc.1).
// This works:functionfoo(@barbar:String) returnbar;
// This also works:varfoo= (a:String, @barb:String) ->a+b;
// This will result in an error along the lines of "Unexpected ;"varfoo= (@barbar:String) ->bar;
The text was updated successfully, but these errors were encountered:
Honestly, can we simply document that metadata on short lambda function arguments isn't supported? This is a bit of a parsing nightmare and IMO also doesn't really suit the short notation to begin with.
Arrow functions seem to break if you use metadata on their first argument (in 4.0.0-rc.1).
The text was updated successfully, but these errors were encountered: