lento-lang/Lento-CSharp

Fix functions with code block body

WilliamRagstad opened this issue · 0 comments

Problem

Running

func(int e) = {e2 = e + 12; e2 * 2}

Throws the following error Parse error at line 1 column 2: Unexpected LeftParen token. Expected parameter identifier type.

Solution

Add support for function block bodies