We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b59f1b3 commit d4c4cc7Copy full SHA for d4c4cc7
1 file changed
generate-new/src/Render/Utils.hs
@@ -95,9 +95,10 @@ chooseAlign align = if align <= 8
95
then ("allocaBytes", 'allocaBytes, id)
96
else ("allocaBytesAligned", 'allocaBytesAligned, (<+> viaShow align))
97
98
-plainTVcompat :: TH.Name -> TH.TyVarBndr
99
#if MIN_VERSION_template_haskell(2,17,0)
+plainTVcompat :: TH.Name -> TH.TyVarBndr TH.Specificity
100
plainTVcompat = (`TH.PlainTV` TH.SpecifiedSpec)
101
#else
102
+plainTVcompat :: TH.Name -> TH.TyVarBndr
103
plainTVcompat = TH.PlainTV
104
#endif
0 commit comments