-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null coalesce operator #5384
Comments
@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. |
This is now available as part of version 60.0 of Salesforce extension |
@gian-ribo Please test this and let us know if this is working as expected. |
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: