Skip to content

-fwarn-empty-enumerations doesn't work with -fhpc

It appears that tick insertion occurs before arithmetic sequences are desugared, so warnAboutEmptyEnumerations can't see the calls to fromInteger, because they have been wrapped in ticks already.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
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