@@ -675,7 +675,8 @@ data PDecl' t
675675 | PProvider (Docstring (Either Err t)) SyntaxInfo FC FC (ProvideWhat' t) Name -- ^ Type provider. The first t is the type, the second is the term. The second FC is precise highlighting location.
676676 | PTransform FC Bool t t -- ^ Source-to-source transformation rule. If
677677 -- bool is True, lhs and rhs must be convertible
678− | PRunElabDecl FC t
678+ | PRunElabDecl FC t [String] -- ^ FC is decl-level, for errors, and
679+ -- Strings represent the namespace
679680 deriving Functor
680681{-!
681682deriving instance Binary PDecl'
@@ -841,8 +842,8 @@ mapPDeclFC f g (PProvider doc syn fc nfc what n) =
841842 PProvider doc syn (f fc) (g nfc) (fmap (mapPTermFC f g) what) n
842843mapPDeclFC f g (PTransform fc safe l r) =
843844 PTransform (f fc) safe (mapPTermFC f g l) (mapPTermFC f g r)
844−mapPDeclFC f g (PRunElabDecl fc script) =
845− PRunElabDecl (f fc) (mapPTermFC f g script)
845+mapPDeclFC f g (PRunElabDecl fc script ns) =
846+ PRunElabDecl (f fc) (mapPTermFC f g script) ns
846847
847848-- | Get all the names declared in a declaration
848849declared :: PDecl -> [Name]