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

quote variable name in UndefVarError and UndefKeywordError #47077

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

KristofferC
Copy link
Member

An error message like ERROR: UndefVarError: variable not defined can be a bit confusing since the variable name (variable) blends into the text. Therefore I think it makes sense to quote the variable name. Here i opted for ` but I guess one could argue for " as well.

@KristofferC KristofferC added the error messages Better, more actionable error messages label Oct 6, 2022
@KristofferC KristofferC merged commit 950ce91 into master Oct 6, 2022
@KristofferC KristofferC deleted the kc/quote_var_error branch October 6, 2022 20:44
aviatesk added a commit to aviatesk/JET.jl that referenced this pull request Oct 14, 2022
martinholters added a commit to JuliaLang/Compat.jl that referenced this pull request Nov 8, 2022
martinholters added a commit to JuliaLang/Compat.jl that referenced this pull request Nov 9, 2022
martinholters added a commit to JuliaLang/Compat.jl that referenced this pull request Feb 18, 2023
martinholters added a commit to JuliaLang/Compat.jl that referenced this pull request Feb 18, 2023
martinholters added a commit to JuliaLang/Compat.jl that referenced this pull request Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Better, more actionable error messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants