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/15 21:25:00 UTC

[jira] [Resolved] (NETBEANS-792) Return type CC does not work correctly 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 resolved NETBEANS-792.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: Next

Fixed.

> Return type CC does not work correctly 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
>              Labels: pull-request-available
>             Fix For: Next
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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