You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{-# Language NoListTuplePuns #-}
typeX= (Int, String)
fails with
<input>:3:10-23
Parsing of formatted code failed:
[GHC-52943] Disambiguating data constructors of tuples and lists is disabled.
Remove the quote to use the data constructor.
as the output with --unsafe is
{-# LANGUAGE NoListTuplePuns #-}
typeX= '(Int, String)
Additional context
While we could do a hacky fix already now, #1140 allows us to fix this in a nicer way because HsExplicitTuple tracks the PromotionFlag directly there; and this issue doesn't seem very major as only very few people are currently using NoListTuplePuns.
The text was updated successfully, but these errors were encountered:
Formatting
fails with
as the output with
--unsafe
iswhich is invalid when
ListTuplePuns
is disabled.Environment
master
(bb9e7b1)Additional context
While we could do a hacky fix already now, #1140 allows us to fix this in a nicer way because
HsExplicitTuple
tracks thePromotionFlag
directly there; and this issue doesn't seem very major as only very few people are currently usingNoListTuplePuns
.The text was updated successfully, but these errors were encountered: