Skip to content

GHC doesn't spot OPTIONS_GHC pragmas after 1k of comments

GHC doesn't spot OPTIONS_GHC (or OPTIONS, LANGUAGE, INCLUDE) pragmas after 1k of comments. Presumably the logic for when to get another buffer's worth of source in getOptionsFromFile is faulty.

Test is pragma001.

Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Driver
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information