[commit: ghc] wip/T10613: Typo in Note name (2c372fd)
git at git.haskell.org
git at git.haskell.org
Tue Mar 29 12:05:05 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T10613
Link : http://ghc.haskell.org/trac/ghc/changeset/2c372fdc5fae8eb38f2693c391508b724b851954/ghc
>---------------------------------------------------------------
commit 2c372fdc5fae8eb38f2693c391508b724b851954
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Tue Mar 22 11:14:08 2016 +0100
Typo in Note name
>---------------------------------------------------------------
2c372fdc5fae8eb38f2693c391508b724b851954
compiler/coreSyn/CoreUtils.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/coreSyn/CoreUtils.hs b/compiler/coreSyn/CoreUtils.hs
index d2da53a..1d9b83b 100644
--- a/compiler/coreSyn/CoreUtils.hs
+++ b/compiler/coreSyn/CoreUtils.hs
@@ -753,8 +753,8 @@ Note [exprIsTrivial]
applications. Note that primop Ids aren't considered
trivial unless
-Note [Variable are trivial]
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Note [Variables are trivial]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There used to be a gruesome test for (hasNoBinding v) in the
Var case:
exprIsTrivial (Var v) | hasNoBinding v = idArity v == 0
More information about the ghc-commits
mailing list