Skip to content

Make pattern synonym export type mismatch a warning

As I understand it, attempting to associate a pattern synonym with a type constructor that it "obviously" doesn't match is an error. This is strange for two reasons:

  1. An "erroneous" association cannot compromise type safety.
  2. The test is incomplete.

Therefore, I believe such mismatches should lead to warnings instead of errors.

Trac metadata
Trac field Value
Version 8.0.1-rc2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (Type checker)
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