[commit: ghc] master: Remove space after ASSERT. (3d9644c)

git at git.haskell.org git at git.haskell.org
Thu Feb 13 20:15:18 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3d9644c2fc705ec80a8a63b0b698d74cd2d49212/ghc

>---------------------------------------------------------------

commit 3d9644c2fc705ec80a8a63b0b698d74cd2d49212
Author: Julian K. Arni <jkarni at gmail.com>
Date:   Wed Feb 12 04:11:31 2014 -0200

    Remove space after ASSERT.
    
      Which on OS X leaves macro unexpanded.


>---------------------------------------------------------------

3d9644c2fc705ec80a8a63b0b698d74cd2d49212
 compiler/coreSyn/CoreSubst.lhs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/coreSyn/CoreSubst.lhs b/compiler/coreSyn/CoreSubst.lhs
index 833f19e..d1fc056 100644
--- a/compiler/coreSyn/CoreSubst.lhs
+++ b/compiler/coreSyn/CoreSubst.lhs
@@ -1357,7 +1357,7 @@ pushCoercionIntoLambda
 pushCoercionIntoLambda in_scope x e co
     -- This implements the Push rule from the paper on coercions
     -- Compare with simplCast in Simplify
-    | ASSERT (not (isTyVar x) && not (isCoVar x)) True
+    | ASSERT(not (isTyVar x) && not (isCoVar x)) True
     , Pair s1s2 t1t2 <- coercionKind co
     , Just (_s1,_s2) <- splitFunTy_maybe s1s2
     , Just (t1,_t2) <- splitFunTy_maybe t1t2



More information about the ghc-commits mailing list