PARSER, CORE: correctly bind value of "this" in function calls, to enable code
like (sort-by #(.distanceTo this %) enemies).