Skip to content

Commit

Permalink
Use TemplateHaskellQuotes rather than TemplateHaskell extension
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mpickering authored Jun 11, 2024
1 parent 4390b95 commit 7d4a574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion System/OsString/Internal/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TemplateHaskellQuotes #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeApplications #-}
Expand Down

0 comments on commit 7d4a574

Please sign in to comment.