Skip to content

ghc -M includes imports inside comments

The dependency mechanism doesn't ignore imports inside 
long comments (single-line comments are fine).  
Presumably this is because it just grabs every line 
that starts with "import" ...
Trac metadata
Trac field Value
Version 4.08.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information