mirror of
https://github.com/typeable/haskell-stack-trace-plugin.git
synced 2024-10-05 16:07:16 +03:00
comment
This commit is contained in:
parent
ad2cc9f1e8
commit
3e597f4eb2
@ -54,6 +54,9 @@ ghcStackImport =
|
||||
(simpleImportDecl $ mkModuleName "GHC.Stack")
|
||||
{ ideclQualified = importDeclQualified, ideclAs = Just $ noLoc ghcStackModuleName }
|
||||
where
|
||||
-- This is for GHC-9 related problems. @noLoc@ causes GHC to throw warnings
|
||||
-- about unused imports. Even if the import is used
|
||||
-- See: https://github.com/waddlaw/haskell-stack-trace-plugin/issues/16
|
||||
srcSpan = RealSrcSpan (realSrcLocSpan $ mkRealSrcLoc "haskell-stack-trace-plugin:very-unique-file-name-to-avoid-collision" 1 1) Nothing
|
||||
|
||||
#if __GLASGOW_HASKELL__ >= 900
|
||||
|
Loading…
Reference in New Issue
Block a user