Allow function attributes in lambda expression

This commit is contained in:
Callum Anderson 2014-02-22 14:37:08 +11:00
parent dcc6c9e304
commit 6f5c71eef1
1 changed files with 2 additions and 0 deletions

View File

@ -4149,6 +4149,8 @@ q{(int a, ...)
auto b = setBookmark();
advance(); // function | delegate
skipParens();
while (isAttribute())
parseAttribute();
if (currentIs(tok!"=>"))
{
goToBookmark(b);