Skip to content

Explicitly qualify Base.Bool constructor #121

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

Merged
merged 1 commit into from
Jul 25, 2025

Conversation

rossviljoen
Copy link
Contributor

Fixes a precompilation warning in julia 1.12:

┌ FixedPointDecimals
│  WARNING: Constructor for type "Bool" was extended in `FixedPointDecimals` without explicit qualification or import.
│    NOTE: Assumed "Bool" refers to `Base.Bool`. This behavior is deprecated and may differ in future versions.`
│    NOTE: This behavior may have differed in Julia versions prior to 1.12.
│    Hint: If you intended to create a new generic function of the same name, use `function Bool end`.
│    Hint: To silence the warning, qualify `Bool` as `Base.Bool` in the method signature or explicitly `import Base: Bool`.
└  

@rossviljoen
Copy link
Contributor Author

fixes #119

@nickrobinson251 nickrobinson251 merged commit a2e24df into JuliaMath:master Jul 25, 2025
9 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants