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
@gian-ribo The apex language server will be updated when major release "Spring '24" is deployed to all customers. At that time the new operator will be recognized.
@gian-ribo As Peter said, this will be supported with the next major version of extensions which is 60.0 which will likely be released in the coming weeks of February. Hope this helps.
Summary
VS Code can't recognise "??" operator. The deploy works.
In "Problems" tab I see:
Steps To Reproduce:
Example: Account[] accList = maybeEmptyAccountList ?? new Account[]{};
Expected result
No problems appeares
Actual result
In "Problems" tab I see:
Salesforce Extension Version in VS Code: v59.15.0
SFDX CLI Version: 7.209.6
OS and version: MacOS Sonoma 14.2.1
VS Code version: 1.85.2 (Universal)
The text was updated successfully, but these errors were encountered: