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

tweak the error printed for PrecompileError to indicate that it doesn't have to be due to __precompile__(false) #51367

Merged
merged 1 commit into from Nov 21, 2023

Conversation

KristofferC
Copy link
Sponsor Member

This error pops up here and there but the root cause is never due to __precompile__(false)

…sn't have to be due to `__precompile__(false)`
@KristofferC KristofferC added the domain:error messages Better, more actionable error messages label Sep 18, 2023
@IanButterworth
Copy link
Sponsor Member

PrecompileError is marked as specifically for __precompile__(false) which Pkg.precompile respects.

I guess this is an improvement/stop gap for users that see this message, but it doesn't fix the underlying issue #51299

@KristofferC
Copy link
Sponsor Member Author

I just want people to stop hunting from a __precompile__(false) which the error message currently tells them to do when that is never the problem in practice.

Copy link
Sponsor Member

@IanButterworth IanButterworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given PrecompilableError is going to be used for more reasons to throw, this LGTM

@IanButterworth IanButterworth merged commit 65090d1 into master Nov 21, 2023
7 checks passed
@IanButterworth IanButterworth deleted the kc/precomp_error branch November 21, 2023 02:08
mkitti pushed a commit to mkitti/julia that referenced this pull request Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:error messages Better, more actionable error messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants