JS
Developer
Yes, currently this behaviour is by-design --- it's not a bug. Given
A data type T
A record field name f then
(e :: T).f should have just one type -- the type of the field f in data type T. I don't think we have any plans -- or even motivation -- to change this design, which seems quite reasonable to me.https://gitlab.haskell.org/ghc/ghc/-/issues/18737#note_301827



