fix(library/init/lean/parser/declaration): attributes before visibility modifiers
This commit is contained in:
parent
71fd8a59b4
commit
533ac2d5b2
1 changed files with 1 additions and 1 deletions
|
|
@ -48,10 +48,10 @@ set_option class.instance_max_depth 300
|
|||
def decl_modifiers.parser : command_parser :=
|
||||
node! decl_modifiers [
|
||||
doc_comment: doc_comment.parser?,
|
||||
attrs: decl_attributes.parser?,
|
||||
visibility: node_choice! visibility {"private", "protected"}?,
|
||||
«noncomputable»: (symbol "noncomputable")?,
|
||||
«meta»: (symbol "meta")?,
|
||||
attrs: decl_attributes.parser?
|
||||
]
|
||||
|
||||
@[derive has_tokens has_view]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue