on master help sign in
Remove erasure check for Placeholder

This is to prevent {x:_} -> ... from showing up as dotted.

commit0510928ef199872cf01b4c9f487aabb9d3a5ca5a authorDavid Raymond Christiansen <david@davidchristiansen.dk> dateFri 12 Jun 2015, 16:11 (11 years ago) parent39f210b
1 file changed−2
src/Idris/Elab/Utils.hs−2
src/Idris/Elab/Utils.hs−2
@@ -66,8 +66,6 @@ inaccessibleImps _ _ _ = []
6666
6767-- | Get the list of (index, name) of inaccessible arguments from the type.
6868inaccessibleArgs :: Int -> PTerm -> [(Int, Name)]
69−inaccessibleArgs i (PPi (Imp _ _ _ _) n _ Placeholder t)
70− = (i,n) : inaccessibleArgs (i+1) t -- unbound implicit
7169inaccessibleArgs i (PPi plicity n _ ty t)
7270 | InaccessibleArg `elem` pargopts plicity
7371 = (i,n) : inaccessibleArgs (i+1) t -- an .{erased : Implicit}