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
The word function, used as a variable name, triggers a PARSE_ERROR. It's not among the list of reserved words and the code works fine. There could be a new rule advising to avoid using reserved words for other purposes than their intended ones, but it shouldn't be causing parsing errors.
Here are some test cases:
public function init(required any function, required any foo) {}
The word
function
, used as a variable name, triggers aPARSE_ERROR
. It's not among the list of reserved words and the code works fine. There could be a new rule advising to avoid using reserved words for other purposes than their intended ones, but it shouldn't be causing parsing errors.Here are some test cases:
The text was updated successfully, but these errors were encountered: