Revision 9141e9d...

Go back to digest for 26th January 2014

Bug Fixes in Development Tools

Heinz Wiesinger committed changes in [kdev-php] /:

Support the syntax for class member access on instantiation.

This adds support for syntax like (new Foo())->bar() as introduced
in PHP 5.4.

The bug, that ($a)-> still offers completion even though it is
invalid syntax (stupid PHP) remains though.

REVIEW: 115304

File Changes

Modified 5 files
  •   duchain/expressionvisitor.cpp
  •   parser/php.g
  •   duchain/builders/declarationbuilder.cpp
  •   duchain/tests/expressionparser.cpp
  •   duchain/tests/expressionparser.h
5 files changed in total