Variable undefined in static function
The following code gives an error on line
return q
:entity User { static function checkPassword() : Int { var q : Int := 10; return q; } }
Variable ‘q’ not defined
Removing
Submitted by D. Pelsmaeker on 4 July 2014 at 15:32static
(making it a normal function) solves this issue.
Issue Log
On 11 July 2014 at 17:16 Danny Groenewegen commented:
fixed https://svn.strategoxt.org/websvn/WebDSL/?op=revision&rev=5940&peg=5940
added missing rename rule (handles local bindings) and constraints (return type checks) for static entity method
On 11 July 2014 at 17:16 Danny Groenewegen closed this issue.
Log in to post comments