summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarter Tazio Schonwald <carter.schonwald@gmail.com>2020-01-05 22:26:10 -0500
committerCarter Tazio Schonwald <carter.schonwald@gmail.com>2020-01-05 22:26:10 -0500
commit8fc4551bf75bd03148e382367c7e4f51724fd68d (patch)
tree293f2226d4371b145e93493d8c2d1f77ce8261ee
parenta8253276ce0a0a171fb8086bbacbbd3058143a7e (diff)
downloadhaskell-8fc4551bf75bd03148e382367c7e4f51724fd68d.tar.gz
fix typo
-rw-r--r--compiler/types/OptCoercion.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/types/OptCoercion.hs b/compiler/types/OptCoercion.hs
index b99c0a2750..5a1cbb28d5 100644
--- a/compiler/types/OptCoercion.hs
+++ b/compiler/types/OptCoercion.hs
@@ -110,7 +110,7 @@ optCoercion :: DynFlags -> TCvSubst -> Coercion -> NormalCo
-- *and* optimises it to reduce its size
optCoercion dflags env co
| hasNoOptCoercion dflags
- || shouldEraseCoercion dflags --- this isnt the right fix :) TODO REVERT
+ || shouldEraseCoercions dflags --- this isnt the right fix :) TODO REVERT
= substCo env co
| otherwise = optCoercion' env co