Skip to content

too little information from error message when matching types with same unqualified name fails

    Couldn't match expected type `Name' against inferred type `Name'
      Expected type: RegExp Name -> RegExp Name
      Inferred type: RegExp Name -> RegExp Name
    In the expression: (packWithMod m) (Literal n)
    In the definition of `cp2regex':
        cp2regex (TagName n m) = (packWithMod m) (Literal n)
Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Multiple
Architecture Multiple
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information