summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Backpack/Syntax.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Backpack/Syntax.hs')
-rw-r--r--compiler/GHC/Driver/Backpack/Syntax.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Backpack/Syntax.hs b/compiler/GHC/Driver/Backpack/Syntax.hs
index a0529fce2e..e67c62d6d8 100644
--- a/compiler/GHC/Driver/Backpack/Syntax.hs
+++ b/compiler/GHC/Driver/Backpack/Syntax.hs
@@ -65,7 +65,7 @@ type LHsUnit n = Located (HsUnit n)
-- | A declaration in a package, e.g. a module or signature definition,
-- or an include.
data HsUnitDecl n
- = DeclD HscSource (Located ModuleName) (Maybe (Located HsModule))
+ = DeclD HscSource (Located ModuleName) (Located HsModule)
| IncludeD (IncludeDecl n)
type LHsUnitDecl n = Located (HsUnitDecl n)