@@ -527,13 +527,16 @@ elab ist info pattern tm
527 pimp (MN 0 "B") Placeholder,
527 pimp (MN 0 "B") Placeholder,
528 pexp l, pexp r]))
528 pexp l, pexp r]))
529 elab' (PDPair fc l@(PRef _ n) t r)
529 elab' (PDPair fc l@(PRef _ n) t r)
531+ Placeholder -> try asType asValue
530− = try (elab' (PApp fc (PRef fc sigmaTy)
533+ where asType = elab' (PApp fc (PRef fc sigmaTy)
532− pexp (PLam n Placeholder r)]))
535+ pexp (PLam n Placeholder r)])
533− (elab' (PApp fc (PRef fc existsCon)
536+ asValue = elab' (PApp fc (PRef fc existsCon)
534− [pimp (MN 0 "a") t,
537+ [pimp (MN 0 "a") t,
535− pimp (MN 0 "P") Placeholder,
538+ pimp (MN 0 "P") Placeholder,
536− pexp l, pexp r]))
539+ pexp l, pexp r])
537 elab' (PDPair fc l t r) = elab' (PApp fc (PRef fc existsCon)
540 elab' (PDPair fc l t r) = elab' (PApp fc (PRef fc existsCon)
538 [pimp (MN 0 "a") t,
541 [pimp (MN 0 "a") t,
539 pimp (MN 0 "P") Placeholder,
542 pimp (MN 0 "P") Placeholder,
@@ -559,7 +562,9 @@ elab ist info pattern tm
559 elab' (PPi _ n ty sc)
562 elab' (PPi _ n ty sc)
560 = do attack; tyn <- unique_hole (MN 0 "ty")
563 = do attack; tyn <- unique_hole (MN 0 "ty")
561 claim tyn (RSet 0)
564 claim tyn (RSet 0)
562− n' <- unique_hole n
566+ MN _ _ -> unique_hole n
563 forall n' (Var tyn)
568 forall n' (Var tyn)
564 focus tyn
569 focus tyn