summaryrefslogtreecommitdiff
path: root/compiler/GHC/Data
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Data')
-rw-r--r--compiler/GHC/Data/FastString.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Data/FastString.hs b/compiler/GHC/Data/FastString.hs
index dcb6901b2c..bec549156f 100644
--- a/compiler/GHC/Data/FastString.hs
+++ b/compiler/GHC/Data/FastString.hs
@@ -290,7 +290,7 @@ instance Ord NonDetFastString where
-- representation). Hence it is deterministic from one run to the other.
newtype LexicalFastString
= LexicalFastString FastString
- deriving newtype (Eq, Show)
+ deriving newtype (Eq, Show, NFData)
deriving stock Data
instance Ord LexicalFastString where