Closed GoogleCodeExporter closed 8 years ago
If I call this:
Result := fOnGetValue()
this works fine.
But do without brackets () must be a error?
Original comment by jac....@gmail.com
on 16 May 2013 at 6:40
This issue was closed by revision r2093.
Original comment by zar...@gmail.com
on 16 May 2013 at 7:26
The implicit call on a function pointer, stored in a field, with no parameters,
wasn't recognized.
In practice there is a lot of ambiguity with function pointers/delegates in the
Pascal language, I wonder if at some point it couldn't be worth it hinting
about an explicit @ to acquire a pointer and () for calls. Anyway, fixed now &
added test.
Original comment by zar...@gmail.com
on 16 May 2013 at 7:33
Original issue reported on code.google.com by
jac....@gmail.com
on 15 May 2013 at 5:58