+1 (980) 272-1787

Pg 369 : 12.5.2 - Parts of a Lambda expression

Date: 2018-12-11
Status: Fixed
Fixedinbuild:
Build 14, 2019-01-26
Old Text:
(a, b, c) -> a + b + c; //valid ... a ->a + 2; //valid a - >return a + 2; //invalid, must not have return keyword
New Text:
(a, b, c) -> a + b + c //valid ... a ->a + 2 //valid a - >return a + 2 //invalid, must not have return keyword
Comments:
Sample lambda expressions should not have semi-colons at the end.
Reportedby:
Flex567

 Back