If a function is not override but inherits from base definition:
print the token of function definition instead of the class definition.
use candidate toString() instead of candidate name because name used for c sources generation. Now error message prints things like hasNext?() instead of hasNext__quest().
DefinitionMismatch:
use \``instead of{}` to keep consistent with other messages
Improve the error message for:
candidate toString()
instead ofcandidate name
because name used forc
sources generation. Now error message prints things likehasNext?()
instead ofhasNext__quest()
.\``instead of
{}` to keep consistent with other messages