You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public very intentionally is only a valid keyword in toplevel (module) scopes to limit breakage of existing code. export always was a keyword (importantly, for Julia 1.x), so there's no need to be extra careful with existing code.
We may be able to improve the situation in Julia 1.13 or some-such following a deprecation. Depending on how important backwards compatibility vs consistent parsing of public/export is. Leaving this issue open to track that possibility.
c42f
changed the title
Parsing of public
Make public parse similar to exportJan 23, 2025
I expect
public
to parse similarly toexport
, but that doesn't seem to be the case.On Julia 1.11.0-rc3 (and all other versions I have tested):
Is this a bug or mistaken expectations?
The text was updated successfully, but these errors were encountered: