chore: unused binding in FromToJson

This commit is contained in:
Wojciech Nawrocki 2021-07-10 16:38:06 -07:00 committed by Sebastian Ullrich
parent c7f5fd6ce4
commit eef413cec8

View file

@ -132,7 +132,6 @@ where
let localDecl ← getLocalDecl x.fvarId!
if !localDecl.userName.hasMacroScopes then
userNames := userNames.push localDecl.userName
let xTy ← inferType x
let a := mkIdent (← mkFreshUserName `a)
identNames := identNames.push a
let jsonAccess ← identNames.mapIdxM (fun idx _ => `(jsons[$(quote idx.val)]))