This PR fixes `declare_syntax_cat` declaring a local category leading to import errors when used in `module` without `public section`. Fixes #11823
10 lines
159 B
Text
10 lines
159 B
Text
module
|
|
|
|
declare_syntax_cat meow
|
|
|
|
/--
|
|
info: meta def Lean.Parser.Category.meow : Lean.Parser.Category :=
|
|
{ }
|
|
-/
|
|
#guard_msgs in
|
|
#print Lean.Parser.Category.meow
|