@@ -1522,7 +1522,7 @@ elab ist info emode opts fn tm
1522 (arg, x : rest)
1522 (arg, x : rest)
1524 insertScopedImps :: FC -> Name -> [Name] -> Type -> [PArg] -> ElabD [PArg]
1524 insertScopedImps :: FC -> Name -> [Name] -> Type -> [PArg] -> ElabD [PArg]
1525− insertScopedImps fc f knowns ty xs =
1525+ insertScopedImps fc f knowns ty xs =
1526 do mapM_ (checkKnownImplicit (map fst (getArgTys ty) ++ knowns)) xs
1526 do mapM_ (checkKnownImplicit (map fst (getArgTys ty) ++ knowns)) xs
1527 doInsert ty xs
1527 doInsert ty xs
@@ -1538,7 +1538,7 @@ elab ist info emode opts fn tm
1538 = liftM (x :) (doInsert sc xs)
1538 = liftM (x :) (doInsert sc xs)
1539 doInsert ty xs = return xs
1539 doInsert ty xs = return xs
1541− -- Any implicit in the application needs to have the name of a
1541+ -- Any implicit in the application needs to have the name of a
1542 -- scoped implicit or a top level implicit, otherwise report an error
1542 -- scoped implicit or a top level implicit, otherwise report an error
1543 checkKnownImplicit ns imp@(PImp{})
1543 checkKnownImplicit ns imp@(PImp{})
1544 | pname imp `elem` ns = return ()
1544 | pname imp `elem` ns = return ()