Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve log when sending a message to an unknown global #5600

Open
jecisc opened this issue Jan 30, 2020 · 0 comments
Open

Improve log when sending a message to an unknown global #5600

jecisc opened this issue Jan 30, 2020 · 0 comments

Comments

@jecisc
Copy link
Member

@jecisc jecisc commented Jan 30, 2020

Currently, when you send a message to an unknow global, you get this kind of error:

VariableNotDeclared: receiver of "new" is nil
UndefinedObject>>doesNotUnderstand: #new
FQNameQueryTest(FQAbstractQueryTest)>>setUp

It would be much better to find the problem if we could also log the name of the variable in the error message. For example `VariableNotDeclared: receiver named "MooseSmalltalkImporter" of "new" is nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.