Commit d12166ad authored by mniip's avatar mniip Committed by Ben Gamari
Browse files

Fix the name of the Word16ElemRep wired-in datacon

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1999
parent 9ee51da1
...@@ -323,7 +323,7 @@ vecElemTyConName = mkWiredInTyConName UserSyntax gHC_TYPES (fsLit "VecElem") vec ...@@ -323,7 +323,7 @@ vecElemTyConName = mkWiredInTyConName UserSyntax gHC_TYPES (fsLit "VecElem") vec
vecElemDataConNames :: [Name] vecElemDataConNames :: [Name]
vecElemDataConNames = zipWith3Lazy mk_special_dc_name vecElemDataConNames = zipWith3Lazy mk_special_dc_name
[ fsLit "Int8ElemRep", fsLit "Int16ElemRep", fsLit "Int32ElemRep" [ fsLit "Int8ElemRep", fsLit "Int16ElemRep", fsLit "Int32ElemRep"
, fsLit "Int64ElemRep", fsLit "Word8ElemRep", fsLit "Word16elemRep" , fsLit "Int64ElemRep", fsLit "Word8ElemRep", fsLit "Word16ElemRep"
, fsLit "Word32ElemRep", fsLit "Word64ElemRep" , fsLit "Word32ElemRep", fsLit "Word64ElemRep"
, fsLit "FloatElemRep", fsLit "DoubleElemRep" ] , fsLit "FloatElemRep", fsLit "DoubleElemRep" ]
vecElemDataConKeys vecElemDataConKeys
......
...@@ -3,6 +3,6 @@ T11145.hs:8:1: error: ...@@ -3,6 +3,6 @@ T11145.hs:8:1: error:
• Data constructor ‘MkFuggle’ returns type ‘Fuggle • Data constructor ‘MkFuggle’ returns type ‘Fuggle
Int (Maybe Bool)’ Int (Maybe Bool)’
instead of an instance of its parent type ‘Fuggle instead of an instance of its parent type ‘Fuggle
Int (Maybe (a_a4MU, b_a4MV))’ Int (Maybe (a_a4MT, b_a4MU))’
• In the definition of data constructor ‘MkFuggle’ • In the definition of data constructor ‘MkFuggle’
In the data instance declaration for ‘Fuggle’ In the data instance declaration for ‘Fuggle’
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment