You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Titum (JIRA)" <ji...@apache.org> on 2018/05/15 10:04:03 UTC

[jira] [Created] (NETBEANS-792) Return type declaration not functionning when arguments have a default value

Titum created NETBEANS-792:
------------------------------

             Summary: Return type declaration not functionning when arguments have a default value
                 Key: NETBEANS-792
                 URL: https://issues.apache.org/jira/browse/NETBEANS-792
             Project: NetBeans
          Issue Type: Bug
          Components: cnd - Code Completion
    Affects Versions: 8.2
         Environment: win10
            Reporter: Titum


The autocompletion of return type declaration for a function give bad list of options when at least an argument has a default value.

Example:
{code:java}
function makeSomething($arg):a {}
{code}
typing ":a" give "array" which is good.
{code:java}
function makeSomething($arg=''):a {}
{code}
typing ":a" give "abstract" which is bad.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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