You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Junichi Yamamoto (JIRA)" <ji...@apache.org> on 2018/11/09 10:55:00 UTC

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

     [ https://issues.apache.org/jira/browse/NETBEANS-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Junichi Yamamoto updated NETBEANS-792:
--------------------------------------
    Component/s:     (was: php - Code)
                 php - Editor

> 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: php - Editor
>    Affects Versions: 8.2
>         Environment: win10
>            Reporter: Titum
>            Assignee: Junichi Yamamoto
>            Priority: Minor
>
> 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