nette-intellij / intellij-neon

Neon language support for PhpStorm / IntelliJ IDEA
http://plugins.intellij.net/plugin/index?pr=webide&pluginId=7060
MIT License
96 stars 43 forks source link

Double colon and referenced service parsing #17

Closed stekycz closed 11 years ago

stekycz commented 11 years ago

Test case 03.neon throws an exception when pasing referenced service.

The problem is on the third line.

    ropanel1: Nette\Application\Diagnostics\RoutingPanel::initialize

Double colon is parsed as a scalar value and name of method (initialize) cause the error because it expects indent token.

I did not find any occurrence of this token in neon parser in Nette. So my question is: Why is this token type used? Is it realy in neon syntax? And what is its functionality?

juzna commented 11 years ago

Solved, it works now.