[commit: ghc] ghc-8.0: Fix the name of the Word16ElemRep wired-in datacon (6960d52)

git at git.haskell.org git at git.haskell.org
Wed Mar 16 08:40:42 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/6960d52329bdd37d9d56a86dc80848e1129602c1/ghc

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

commit 6960d52329bdd37d9d56a86dc80848e1129602c1
Author: mniip <mniip at mniip.com>
Date:   Sun Mar 13 18:12:55 2016 +0100

    Fix the name of the Word16ElemRep wired-in datacon
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1999
    
    (cherry picked from commit d12166ad905ad8b014d672b9fc3b9a0e10ba80df)


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

6960d52329bdd37d9d56a86dc80848e1129602c1
 compiler/prelude/TysWiredIn.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/prelude/TysWiredIn.hs b/compiler/prelude/TysWiredIn.hs
index 1ee6cfa..c84b1cc 100644
--- a/compiler/prelude/TysWiredIn.hs
+++ b/compiler/prelude/TysWiredIn.hs
@@ -323,7 +323,7 @@ vecElemTyConName = mkWiredInTyConName UserSyntax gHC_TYPES (fsLit "VecElem") vec
 vecElemDataConNames :: [Name]
 vecElemDataConNames = zipWith3Lazy mk_special_dc_name
                         [ fsLit "Int8ElemRep", fsLit "Int16ElemRep", fsLit "Int32ElemRep"
-                        , fsLit "Int64ElemRep", fsLit "Word8ElemRep", fsLit "Word16elemRep"
+                        , fsLit "Int64ElemRep", fsLit "Word8ElemRep", fsLit "Word16ElemRep"
                         , fsLit "Word32ElemRep", fsLit "Word64ElemRep"
                         , fsLit "FloatElemRep", fsLit "DoubleElemRep" ]
                         vecElemDataConKeys



More information about the ghc-commits mailing list