Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Gergő Érdi's avatar
    b56025f4
    Don't specialise incoherent instance applications · b56025f4
    Gergő Érdi authored
    Using incoherent instances, there can be situations where two
    occurrences of the same overloaded function at the same type use two
    different instances (see #22448). For incoherently resolved instances,
    we must mark them with `nospec` to avoid the specialiser rewriting one
    to the other. This marking is done during the desugaring of the
    `WpEvApp` wrapper.
    
    Fixes #22448
    
    Metric Increase:
        T15304
    b56025f4
    History
    Don't specialise incoherent instance applications
    Gergő Érdi authored
    Using incoherent instances, there can be situations where two
    occurrences of the same overloaded function at the same type use two
    different instances (see #22448). For incoherently resolved instances,
    we must mark them with `nospec` to avoid the specialiser rewriting one
    to the other. This marking is done during the desugaring of the
    `WpEvApp` wrapper.
    
    Fixes #22448
    
    Metric Increase:
        T15304
Code owners
Assign users and groups as approvers for specific file changes. Learn more.