We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248b35c commit 71dd4b7Copy full SHA for 71dd4b7
src/components/keywords.jl
@@ -73,7 +73,7 @@ function parse_kw(ps::ParseState; is_toplevel = false)
73
elseif k === Tokens.PRIMITIVE
74
return @default ps parse_primitive(ps)
75
elseif k === Tokens.PUBLIC
76
- if is_toplevel
+ if is_toplevel && VERSION > v"1.11-"
77
return @default ps parse_public(ps)
78
else
79
return EXPR(:IDENTIFIER, ps)
0 commit comments