Diff
Not logged in

Differences From Artifact [2739b95337ae2aab]:

To Artifact [fbe471845b86f859]:


219 219 } 220 220 scope(exit) lex.popFront; 221 221 return new VarExpression(pos, lex.front.str); 222 222 } 223 223 224 224 AST parseLambdaAfterOpenParen(immutable LexPosition pos) 225 225 { 226 - string[] params; 226 + Parameter[] params; 227 227 while( !tryEat(")") ) 228 228 { 229 - params ~= eatId("for function parameter"); 229 + params ~= new Parameter(eatId("for function parameter"), []); 230 230 if( !tryEat(",") ) { 231 231 eat(")", "after function parameters"); 232 232 break; 233 233 } 234 234 } 235 235 eat("{", "after function parameters"); 236 236 auto funbody = Body();