perf: remove unnecessary, cache-defeating withPosition in doReassignArrow
This commit is contained in:
parent
9dbd9ec554
commit
07953062ed
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ def letIdDeclNoBinders := node ``letIdDecl <|
|
|||
@[builtin_doElem_parser] def doReassign := leading_parser
|
||||
notFollowedByRedefinedTermToken >> (letIdDeclNoBinders <|> letPatDecl)
|
||||
@[builtin_doElem_parser] def doReassignArrow := leading_parser
|
||||
notFollowedByRedefinedTermToken >> withPosition (doIdDecl <|> doPatDecl)
|
||||
notFollowedByRedefinedTermToken >> (doIdDecl <|> doPatDecl)
|
||||
@[builtin_doElem_parser] def doHave := leading_parser
|
||||
"have " >> Term.haveDecl
|
||||
/-
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue