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

try improving check_top_bit error message #53166

Merged
merged 1 commit into from
Feb 5, 2024
Merged

try improving check_top_bit error message #53166

merged 1 commit into from
Feb 5, 2024

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Feb 3, 2024

Fixes #30247

@staticfloat this was your issue, so what do you think of this? I think the main problem was already solved (showing the wrong type), but I am wondering if this wording is still clearer, since it tries to align it with functions users might actually have encountered (trunc, convert, signbit)

@vtjnash vtjnash added the error messages Better, more actionable error messages label Feb 3, 2024
@vtjnash
Copy link
Member Author

vtjnash commented Feb 5, 2024

Do you want to merge, or are we waiting for input from more people?

@staticfloat staticfloat merged commit 9aba4a8 into master Feb 5, 2024
5 of 8 checks passed
@staticfloat staticfloat deleted the jn/30247 branch February 5, 2024 01:17
vtjnash pushed a commit that referenced this pull request Feb 29, 2024
Used in some packages (e.g. rfourquet/BitIntegers.jl)
Renamed in #53166
KristofferC added a commit that referenced this pull request Mar 1, 2024
Used in some packages (e.g. rfourquet/BitIntegers.jl)
Renamed in #53166

(cherry picked from commit 24aaf00)
tecosaur pushed a commit to tecosaur/julia that referenced this pull request Mar 4, 2024
Used in some packages (e.g. rfourquet/BitIntegers.jl)
Renamed in JuliaLang#53166
mkitti pushed a commit to mkitti/julia that referenced this pull request Apr 13, 2024
Used in some packages (e.g. rfourquet/BitIntegers.jl)
Renamed in JuliaLang#53166
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.

UInt(-1) yields an obscure error message
2 participants