Skip to content
  • Richard Eisenberg's avatar
    Unwrap casts before checking vars in eager unifier · 042df603
    Richard Eisenberg authored
    Previously, checking whether (tv |> co) ~ (tv |> co) got deferred,
    because we looked for vars before stripping casts. (The left type
    would get stripped, and then tv ~ (tv |> co) would scare the occurs-
    checker.)
    
    This opportunity for improvement presented itself in other work.
    This is just an optimization. Some programs can now report more
    errors simultaneously.
    042df603