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.
2 parents 248b35c + 71dd4b7 commit 39528bbCopy full SHA for 39528bb
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