@@ -52,12 +52,10 @@ ghcStackImport :: Located (ImportDecl (GhcPass p))
5252ghcStackImport =
5353 L srcSpan $
5454 (simpleImportDecl $ mkModuleName "GHC.Stack")
55− { ideclQualified = importDeclQualified, ideclAs = Just $ noLoc ghcStackModuleName }
55+ { ideclQualified = importDeclQualified
56+ , ideclAs = Just $ noLoc ghcStackModuleName }
5657 where
57− -- This is for GHC-9 related problems. @noLoc@ causes GHC to throw warnings
58− -- about unused imports. Even if the import is used
59− -- See: https://github.com/waddlaw/haskell-stack-trace-plugin/issues/16
60− srcSpan = RealSrcSpan (realSrcLocSpan $ mkRealSrcLoc "haskell-stack-trace-plugin:very-unique-file-name-to-avoid-collision" 1 1) Nothing
58+ srcSpan = RealSrcSpan (realSrcLocSpan $ mkRealSrcLoc "ThisFile" 1 1) Nothing
6159
6260#if __GLASGOW_HASKELL__ >= 900
6361updateHsModule :: HsModule -> HsModule