Skip to content

Commit 7d4a574

Browse files
authored
Use TemplateHaskellQuotes rather than TemplateHaskell extension
TemplateHaskell can't be used in boot libraries as not all platforms support evaluating Template Haskell splices. Therefore we should use TemplateHaskellQuotes to be more precise about the requirements which a module places on the host system.
1 parent 4390b95 commit 7d4a574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

System/OsString/Internal/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
33
{-# LANGUAGE PackageImports #-}
44
{-# LANGUAGE RankNTypes #-}
5-
{-# LANGUAGE TemplateHaskell #-}
5+
{-# LANGUAGE TemplateHaskellQuotes #-}
66
{-# LANGUAGE DeriveGeneric #-}
77
{-# LANGUAGE TypeFamilies #-}
88
{-# LANGUAGE TypeApplications #-}

0 commit comments

Comments
 (0)