[commit: ghc] wip/T10613: Typo in Note name (c13c918)
git at git.haskell.org
git at git.haskell.org
Tue Mar 22 14:37:49 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T10613
Link : http://ghc.haskell.org/trac/ghc/changeset/c13c91851f7cfcef58020233c4a76e397cb2fc87/ghc
>---------------------------------------------------------------
commit c13c91851f7cfcef58020233c4a76e397cb2fc87
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Tue Mar 22 11:14:08 2016 +0100
Typo in Note name
>---------------------------------------------------------------
c13c91851f7cfcef58020233c4a76e397cb2fc87
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