Review Request 116672: Support named anonymous functions
Milian Wolff
mail at milianw.de
Tue Apr 22 21:53:47 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116672/#review56234
-----------------------------------------------------------
this is obsoleted by https://git.reviewboard.kde.org/r/117458/ , correct?
- Milian Wolff
On March 9, 2014, 4:19 p.m., Niko Sams wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116672/
> -----------------------------------------------------------
>
> (Updated March 9, 2014, 4:19 p.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdev-qmljs
>
>
> Description
> -------
>
> This patch adds support for defining named anonymous functions:
> var foo = function() {
> }
>
> will result in the same as:
> function foo() {
> }
>
> While this is not entirely correct (as you could do anything with variable foo) it makes sense to support that in an IDE.
>
>
> Diffs
> -----
>
> duchain/declarationbuilder.cpp 98da341
>
> Diff: https://git.reviewboard.kde.org/r/116672/diff/
>
>
> Testing
> -------
>
> Unittest added, others still pass.
>
>
> Thanks,
>
> Niko Sams
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140422/cb609e4a/attachment.html>
More information about the KDevelop-devel
mailing list