feat(library/init/lean/syntax): update preresolved field
The `Nat` is for handling the ambiguous `.` notation in Lean during preresolution. Recall that `x.y` may represent a hierarchical name or a "field access".
This commit is contained in:
parent
2ad33a23db
commit
76c27c9aa4
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ inductive Syntax (α : Type := Unit)
|
|||
| missing {} : Syntax
|
||||
| node (kind : SyntaxNodeKind) (args : Array Syntax) : Syntax
|
||||
| atom {} (info : Option SourceInfo) (val : String) : Syntax
|
||||
| ident {} (info : Option SourceInfo) (rawVal : Substring) (val : Name) (preresolved : List Name) : Syntax
|
||||
| ident {} (info : Option SourceInfo) (rawVal : Substring) (val : Name) (preresolved : List (Nat × Name)) : Syntax
|
||||
| other : α → Syntax
|
||||
|
||||
instance stxInh {α} : Inhabited (Syntax α) :=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue