@@ -1148,7 +1148,7 @@ data PTerm = PQuote Raw -- ^ Inclusion of a core term into the
11481148 | PAlternative [(Name, Name)] PAltType [PTerm] -- ^ (| A, B, C|). Includes unapplied unique name mappings for mkUniqueNames.
11491149 | PHidden PTerm -- ^ Irrelevant or hidden pattern
11501150 | PType FC -- ^ 'Type' type
1151− | PUniverse Universe -- ^ Some universe
1151+ | PUniverse FC Universe -- ^ Some universe
11521152 | PGoal FC PTerm Name PTerm -- ^ quoteGoal, used for %reflection functions
11531153 | PConstant FC Const -- ^ Builtin types
11541154 | Placeholder -- ^ Underscore
@@ -1211,7 +1211,7 @@ mapPTermFC f g (PAs fc n t) = PAs (f fc) n (mapPTermFC f g t)
12111211mapPTermFC f g (PAlternative ns ty ts) = PAlternative ns ty (map (mapPTermFC f g) ts)
12121212mapPTermFC f g (PHidden t) = PHidden (mapPTermFC f g t)
12131213mapPTermFC f g (PType fc) = PType (f fc)
1214−mapPTermFC f g (PUniverse u) = PUniverse u
1214+mapPTermFC f g (PUniverse fc u) = PUniverse (f fc) u
12151215mapPTermFC f g (PGoal fc t1 n t2) = PGoal (f fc) (mapPTermFC f g t1) n (mapPTermFC f g t2)
12161216mapPTermFC f g (PConstant fc c) = PConstant (f fc) c
12171217mapPTermFC f g Placeholder = Placeholder
@@ -1443,7 +1443,7 @@ highestFC (PAlternative _ _ args) =
14431443 (fc:_) -> Just fc
14441444highestFC (PHidden _) = Nothing
14451445highestFC (PType fc) = Just fc
1446−highestFC (PUniverse _) = Nothing
1446+highestFC (PUniverse _ _) = Nothing
14471447highestFC (PGoal fc _ _ _) = Just fc
14481448highestFC (PConstant fc _) = Just fc
14491449highestFC Placeholder = Nothing
@@ -2083,7 +2083,7 @@ pprintPTerm ppo bnd docArgs infixes = prettySe (ppopt_depth ppo) startPrec bnd
20832083 depth d . prettySe (decD d) startPrec bnd)
20842084 empty as
20852085 prettySe d p bnd (PType _) = annotate (AnnType "Type" "The type of types") $ text "Type"
2086− prettySe d p bnd (PUniverse u) = annotate (AnnType (show u) "The type of unique types") $ text (show u)
2086+ prettySe d p bnd (PUniverse _ u) = annotate (AnnType (show u) "The type of unique types") $ text (show u)
20872087 prettySe d p bnd (PConstant _ c) = annotate (AnnConst c) (text (show c))
20882088 -- XXX: add pretty for tactics
20892089 prettySe d p bnd (PProof ts) =
@@ -2408,7 +2408,7 @@ instance Sized PTerm where
24082408 size (PDisamb _ tm) = size tm
24092409 size (PNoImplicits tm) = size tm
24102410 size (PType _) = 1
2411− size (PUniverse _) = 1
2411+ size (PUniverse _ _) = 1
24122412 size (PConstant fc const) = 1 + size fc + size const
24132413 size Placeholder = 1
24142414 size (PDoBlock dos) = 1 + size dos