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

Developer mode (for REPL) #56512

Closed
PallHaraldsson opened this issue Nov 9, 2024 · 1 comment
Closed

Developer mode (for REPL) #56512

PallHaraldsson opened this issue Nov 9, 2024 · 1 comment

Comments

@PallHaraldsson
Copy link
Contributor

PallHaraldsson commented Nov 9, 2024

I suggest a --developer mode for Julia.

One thing that comes to mind is warning about access to global variables that have not been defined already (at some point it might warn against all access to global variables).

Now that the REPL is no longer in the sysimage, it seems like good timing to add a developer mode to it. It could be on by default there, but off by default, when not in the REPL/interactive-mode.

Could or should Lint.jl or StaticLint.jl be integrated into Julia such a developer mode?

Fell free to suggest warnings the mode could support, or even errors, since this wouldn't be a breaking change for opt-into dev mode at least. Some Strict (opt-in) mode has already been suggested for modules if I recall.

@KristofferC
Copy link
Member

Going to close as somewhat of a dup of #54903.

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

No branches or pull requests

2 participants