Pg: 369
Status: Fixed
Fixed in Build: 14
Reported On: 2018-12-11
Reported By: Flex567
|
Location: 12.5.2 - Parts of a Lambda expression
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.
|