chore: remove workaround
This commit is contained in:
parent
8a06b04f3a
commit
17e97baf8d
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ match expectedType? with
|
|||
|
||||
private def getDoElems (stx : Syntax) : Array Syntax :=
|
||||
let arg := stx.getArg 1;
|
||||
if arg.getKind == `Lean.Parser.Term.doSeqBracketed || arg.getKind == `Lean.Parser.Term.bracketedDoSeq /- TODO: remove second case -/ then
|
||||
if arg.getKind == `Lean.Parser.Term.doSeqBracketed then
|
||||
(arg.getArg 1).getArgs
|
||||
else
|
||||
arg.getArgs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue