No distinction between function definition and function call in lookup_env #395
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The above code will unexpectedly result in the following error:
This happens because the lookup in the function
lookup_env1
does not distinguish between a call to a qualified function and a new definition of a function in the scope, and it considers both as a call to a qualified function.