@@ -409,7 +409,7 @@ elab ist info emode opts fn tm
409-- pexp l, pexp r]))
409-- pexp l, pexp r]))
412− elab' ina _ (PDPair fc p l@(PRef _ n) t r)
412+ elab' ina _ (PDPair fc p l@(PRef nfc n) t r)
413 = case t of
413 = case t of
414 Placeholder ->
414 Placeholder ->
415 do hnf_compute
415 do hnf_compute
@@ -418,13 +418,9 @@ elab ist info emode opts fn tm
418 TType _ -> asType
418 TType _ -> asType
419 _ -> asValue
419 _ -> asValue
420 _ -> asType
420 _ -> asType
421− where asType = elab' ina (Just fc) (PApp fc (PRef fc sigmaTy)
421+ where asType = elab' ina (Just fc) (PApp fc (PRef NoFC sigmaTy)
424− -- TODO: save the FC from the dependent pair
425− -- syntax and put it on this lambda for interactive
426− -- semantic highlighting support. NoFC for now.
427− pexp (PLam fc n NoFC Placeholder r)])
423+ pexp (PLam fc n nfc Placeholder r)])
428 asValue = elab' ina (Just fc) (PApp fc (PRef fc sigmaCon)
424 asValue = elab' ina (Just fc) (PApp fc (PRef fc sigmaCon)
429 [pimp (sMN 0 "a") t False,
425 [pimp (sMN 0 "a") t False,
430 pimp (sMN 0 "P") Placeholder True,
426 pimp (sMN 0 "P") Placeholder True,