Commit d0716279 authored by Ryan Scott's avatar Ryan Scott Committed by Marge Bot

Fix #17067 by making data family type constructors actually injective

`TcTyClsDecls.tcFamDecl1` was using `NotInjective` when creating data
family type constructors, which is just plain wrong. This tweaks it
to use `Injective` instead.

Fixes #17067.
parent 1230d6f9
Pipeline #9510 passed with stages
in 338 minutes and 25 seconds