Review Request 111547: Add support for PHP 5.5's array literal dereferencing.
Milian Wolff
mail at milianw.de
Thu Jul 18 09:11:58 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111547/#review36098
-----------------------------------------------------------
Ship it!
I ack'ed your account request yesterday - so either wait until you get that access and then push this commit or tell me and I'll push it in your name.
Cheers!
- Milian Wolff
On July 18, 2013, 9:01 a.m., Heinz Wiesinger wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111547/
> -----------------------------------------------------------
>
> (Updated July 18, 2013, 9:01 a.m.)
>
>
> Review request for KDevelop.
>
>
> Description
> -------
>
> Add support for PHP 5.5's array literal dereferencing.
>
> This would for example look like this:
>
> $a = [1,2,3][0];
>
> where $a = 1;
>
> The rfc detailing the feature can be found here: https://wiki.php.net/rfc/constdereference
>
> I had to rewrite the array handling a little bit to make the typing work as expected and adjusted the unit tests for that as well.
>
>
> Diffs
> -----
>
> duchain/expressionvisitor.h 3b951fbe878e8a9bd0d8c981a9c2f8c02bfcbc8f
> duchain/expressionvisitor.cpp 0a926167eeb5e493f22ac62704865ad6461b64d8
> duchain/tests/expressionparser.h a749e973d11505d94abf1ea43d45513ca22d5244
> duchain/tests/expressionparser.cpp 72970fce85153fdb1baf97163c306a0e6c312d6c
> parser/php.g 55b7b64de919137b03331569381dee45cdb21fb2
>
> Diff: http://git.reviewboard.kde.org/r/111547/diff/
>
>
> Testing
> -------
>
> Unit tests and php example code
>
>
> Thanks,
>
> Heinz Wiesinger
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130718/95a771b4/attachment.html>
More information about the KDevelop-devel
mailing list