You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "PetitBoeuf (Jira)" <ji...@apache.org> on 2022/04/20 10:10:00 UTC
[jira] [Updated] (NETBEANS-5496) Optional chaining (?.) support
[ https://issues.apache.org/jira/browse/NETBEANS-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
PetitBoeuf updated NETBEANS-5496:
---------------------------------
Affects Version/s: 13
> Optional chaining (?.) support
> ------------------------------
>
> Key: NETBEANS-5496
> URL: https://issues.apache.org/jira/browse/NETBEANS-5496
> Project: NetBeans
> Issue Type: New Feature
> Components: editor - Parsing & Indexing
> Affects Versions: 12.3, 13
> Reporter: Maciej Jaros
> Priority: Major
> Attachments: image-2021-03-25-15-33-58-344.png
>
>
> Optional chaining is supported by all major browsers. Please add support for it in Netbeans.
> Currently NB shows "Expected operand" error and other things might brake in the file too.
> Example:
> {code:java}
> class TestClass {
> getValue() {
> return null;
> }
> getSubmitValue() {
> return this.getValue()?.join(',');
> }
> }{code}
> See also:
> [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining]
>
> In NB 12.3:
> !image-2021-03-25-15-33-58-344.png!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists