chore(library/init/lean/parser/term): remove hack used during conversion
This commit is contained in:
parent
fc40fbb93f
commit
930164b597
1 changed files with 4 additions and 4 deletions
|
|
@ -96,10 +96,10 @@ nodeChoice! simpleBinder {
|
|||
}
|
||||
|
||||
def simpleBinder.View.toBinderInfo : simpleBinder.View → (BinderInfo × SyntaxIdent × Syntax)
|
||||
| (simpleBinder.View.explicit {id := id, type := type, ..}) := (BinderInfo.default, id, type)
|
||||
| (simpleBinder.View.implicit {id := id, type := type, ..}) := (BinderInfo.implicit, id, type)
|
||||
| (simpleBinder.View.strictImplicit {id := id, type := type, ..}) := (BinderInfo.strictImplicit, id, type)
|
||||
| (simpleBinder.View.instImplicit {id := id, type := type, ..}) := (BinderInfo.instImplicit, id, type)
|
||||
| (simpleBinder.View.explicit {id := id, type := type}) := (BinderInfo.default, id, type)
|
||||
| (simpleBinder.View.implicit {id := id, type := type}) := (BinderInfo.implicit, id, type)
|
||||
| (simpleBinder.View.strictImplicit {id := id, type := type}) := (BinderInfo.strictImplicit, id, type)
|
||||
| (simpleBinder.View.instImplicit {id := id, type := type}) := (BinderInfo.instImplicit, id, type)
|
||||
|
||||
@[derive Parser.HasTokens Parser.HasView]
|
||||
def anonymousConstructor.Parser : termParser :=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue