You are viewing a plain text version of this content. The canonical link for it is here.
Posted to netcat@netbeans.apache.org by 秋天的虫子 <jo...@qq.com> on 2018/11/20 04:02:56 UTC

netbeans yield problem

Dear NetBeans team,
      I'm a loyal user of netbeans. I'm glad to see the recent changes in netbeans. Its support for PHP has become more and more friendly. Now it's starting to support PHP 7.3. It's really exciting news, but so far, NetBeans seems to have no solution from PHP 5.5 to now. A PHP YIELD grammar-related BUG. When YIELD is added before a PHP statement, NetBeans will prompt for grammatical errors, but there are no grammatical errors on other IDEs (such as PHPSTORM). I hope the NetBeans team can solve this problem. This will help NetBeans expand their usage in the PHP camp. I hope the NetBeans team can repair this error in the future version, and I hope NetBeans will have a better future.
                                                                         A faithful user of NetBeans

Re: netbeans yield problem

Posted by Junichi Yamamoto <ju...@gmail.com>.
Hi,

I've received an email from 秋天的虫子. I've already fixed the following
yield case 2 years ago[1].

$res = yield $arr;

Then, the following case should be also OK in a current development
version. i.e. I think we can't reproduce the problem now. Please give
it a try in the latest development version[2] :)

$res = yield ($arr);

[1] https://netbeans.org/bugzilla/show_bug.cgi?id=262144
[2]  https://builds.apache.org/job/incubator-netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/

Thanks,
Junichi
On Thu, Nov 22, 2018 at 2:33 AM Emilian Bold <em...@gmail.com> wrote:
>
> My guess is there is a parser error if the 'yield' keywords is on a
> line? I just tested and I don't see it.
>
> Could we get an example / screenshot?
>
> --emi
>
> On Wed, Nov 21, 2018 at 12:28 AM Junichi Yamamoto <ju...@gmail.com> wrote:
> >
> > Hi,
> >
> > As Antonio wrote, it would be great if you can provide an example
> > code. Otherwise, probably it is hard for us to fix your problem.
> > Then, could you please report it to the JIRA[1] if possible?
> >
> > [1] https://issues.apache.org/jira/projects/NETBEANS/issues
> >
> > Thanks,
> > Junichi
> >
> > On Wed, Nov 21, 2018 at 4:12 AM Antonio <an...@vieiro.net> wrote:
> > >
> > > Hi 秋天的虫子,
> > >
> > > Would you please send us an example source code to reproduce the problem?
> > >
> > > Thanks,
> > > Antonio
> > >
> > > El 20/11/2018 a las 5:02, 秋天的虫子 escribió:
> > > > Dear NetBeans team,
> > > >        I'm a loyal user of netbeans. I'm glad to see the recent changes in netbeans. Its support for PHP has become more and more friendly. Now it's starting to support PHP 7.3. It's really exciting news, but so far, NetBeans seems to have no solution from PHP 5.5 to now. A PHP YIELD grammar-related BUG. When YIELD is added before a PHP statement, NetBeans will prompt for grammatical errors, but there are no grammatical errors on other IDEs (such as PHPSTORM). I hope the NetBeans team can solve this problem. This will help NetBeans expand their usage in the PHP camp. I hope the NetBeans team can repair this error in the future version, and I hope NetBeans will have a better future.
> > > >                                                                           A faithful user of NetBeans
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> > > > For additional commands, e-mail: netcat-help@netbeans.apache.org
> > > >
> > > > For further information about the NetBeans mailing lists, visit:
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> > > For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> > For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: netbeans yield problem

Posted by Emilian Bold <em...@gmail.com>.
My guess is there is a parser error if the 'yield' keywords is on a
line? I just tested and I don't see it.

Could we get an example / screenshot?

--emi

On Wed, Nov 21, 2018 at 12:28 AM Junichi Yamamoto <ju...@gmail.com> wrote:
>
> Hi,
>
> As Antonio wrote, it would be great if you can provide an example
> code. Otherwise, probably it is hard for us to fix your problem.
> Then, could you please report it to the JIRA[1] if possible?
>
> [1] https://issues.apache.org/jira/projects/NETBEANS/issues
>
> Thanks,
> Junichi
>
> On Wed, Nov 21, 2018 at 4:12 AM Antonio <an...@vieiro.net> wrote:
> >
> > Hi 秋天的虫子,
> >
> > Would you please send us an example source code to reproduce the problem?
> >
> > Thanks,
> > Antonio
> >
> > El 20/11/2018 a las 5:02, 秋天的虫子 escribió:
> > > Dear NetBeans team,
> > >        I'm a loyal user of netbeans. I'm glad to see the recent changes in netbeans. Its support for PHP has become more and more friendly. Now it's starting to support PHP 7.3. It's really exciting news, but so far, NetBeans seems to have no solution from PHP 5.5 to now. A PHP YIELD grammar-related BUG. When YIELD is added before a PHP statement, NetBeans will prompt for grammatical errors, but there are no grammatical errors on other IDEs (such as PHPSTORM). I hope the NetBeans team can solve this problem. This will help NetBeans expand their usage in the PHP camp. I hope the NetBeans team can repair this error in the future version, and I hope NetBeans will have a better future.
> > >                                                                           A faithful user of NetBeans
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> > > For additional commands, e-mail: netcat-help@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> > For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: netbeans yield problem

Posted by Junichi Yamamoto <ju...@gmail.com>.
Hi,

As Antonio wrote, it would be great if you can provide an example
code. Otherwise, probably it is hard for us to fix your problem.
Then, could you please report it to the JIRA[1] if possible?

[1] https://issues.apache.org/jira/projects/NETBEANS/issues

Thanks,
Junichi

On Wed, Nov 21, 2018 at 4:12 AM Antonio <an...@vieiro.net> wrote:
>
> Hi 秋天的虫子,
>
> Would you please send us an example source code to reproduce the problem?
>
> Thanks,
> Antonio
>
> El 20/11/2018 a las 5:02, 秋天的虫子 escribió:
> > Dear NetBeans team,
> >        I'm a loyal user of netbeans. I'm glad to see the recent changes in netbeans. Its support for PHP has become more and more friendly. Now it's starting to support PHP 7.3. It's really exciting news, but so far, NetBeans seems to have no solution from PHP 5.5 to now. A PHP YIELD grammar-related BUG. When YIELD is added before a PHP statement, NetBeans will prompt for grammatical errors, but there are no grammatical errors on other IDEs (such as PHPSTORM). I hope the NetBeans team can solve this problem. This will help NetBeans expand their usage in the PHP camp. I hope the NetBeans team can repair this error in the future version, and I hope NetBeans will have a better future.
> >                                                                           A faithful user of NetBeans
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: netcat-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: netbeans yield problem

Posted by Antonio <an...@vieiro.net>.
Hi 秋天的虫子,

Would you please send us an example source code to reproduce the problem?

Thanks,
Antonio

El 20/11/2018 a las 5:02, 秋天的虫子 escribió:
> Dear NetBeans team,
>        I'm a loyal user of netbeans. I'm glad to see the recent changes in netbeans. Its support for PHP has become more and more friendly. Now it's starting to support PHP 7.3. It's really exciting news, but so far, NetBeans seems to have no solution from PHP 5.5 to now. A PHP YIELD grammar-related BUG. When YIELD is added before a PHP statement, NetBeans will prompt for grammatical errors, but there are no grammatical errors on other IDEs (such as PHPSTORM). I hope the NetBeans team can solve this problem. This will help NetBeans expand their usage in the PHP camp. I hope the NetBeans team can repair this error in the future version, and I hope NetBeans will have a better future.
>                                                                           A faithful user of NetBeans
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists