summaryrefslogtreecommitdiff
path: root/compiler/GHC/HsToCore/Match/Literal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/HsToCore/Match/Literal.hs')
-rw-r--r--compiler/GHC/HsToCore/Match/Literal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/HsToCore/Match/Literal.hs b/compiler/GHC/HsToCore/Match/Literal.hs
index 17bf1484b2..882318b163 100644
--- a/compiler/GHC/HsToCore/Match/Literal.hs
+++ b/compiler/GHC/HsToCore/Match/Literal.hs
@@ -370,7 +370,7 @@ tidyNPat (OverLit (OverLitTc False ty) val _) mb_neg _eq outer_ty
-- NB: do /not/ convert Float or Double literals to F# 3.8 or D# 5.3
-- If we do convert to the constructor form, we'll generate a case
-- expression on a Float# or Double# and that's not allowed in Core; see
- -- #9238 and Note [Rules for floating-point comparisons] in GHC.Core.Op.ConstantFold
+ -- #9238 and Note [Rules for floating-point comparisons] in GHC.Core.Opt.ConstantFold
where
-- Sometimes (like in test case
-- overloadedlists/should_run/overloadedlistsrun04), the SyntaxExprs include