[GHC] #9123: Need for higher kinded roles
GHC
ghc-devs at haskell.org
Fri Mar 2 00:34:46 UTC 2018
#9123: Need for higher kinded roles
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: goldfire
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 7.8.2
checker) | Keywords: Roles,
Resolution: | QuantifiedConstraints
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
simonpj, that commit doesn't build for me. I get the following error when
building stage 2:
{{{
"inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -O0 -H64m
-Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header
-Iincludes/dist-ghcconstants/header -this-unit-id ghc-8.5 -hide-all-
packages -i -icompiler/backpack -icompiler/basicTypes -icompiler/cmm
-icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci
-icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main
-icompiler/nativeGen -icompiler/parser -icompiler/prelude
-icompiler/profiling -icompiler/rename -icompiler/simplCore
-icompiler/simplStg -icompiler/specialise -icompiler/stgSyn
-icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils
-icompiler/vectorise -icompiler/stage2/build -Icompiler/stage2/build
-icompiler/stage2/build/./autogen -Icompiler/stage2/build/./autogen
-Icompiler/. -Icompiler/parser -Icompiler/utils
-Icompiler/../rts/dist/build -Icompiler/stage2 -optP-DGHCI -optP-include
-optPcompiler/stage2/build/./autogen/cabal_macros.h -package-id
base-4.11.0.0 -package-id deepseq-1.4.3.0 -package-id directory-1.3.1.5
-package-id process-1.6.2.0 -package-id bytestring-0.10.8.2 -package-id
binary-0.8.5.1 -package-id time-1.8.0.2 -package-id containers-0.5.10.2
-package-id array-0.5.2.0 -package-id filepath-1.4.1.2 -package-id
template-haskell-2.13.0.0 -package-id hpc-0.6.0.3 -package-id
transformers-0.5.5.0 -package-id ghc-boot-8.5 -package-id ghc-boot-th-8.5
-package-id ghci-8.5 -package-id unix-2.7.2.2 -package-id terminfo-0.4.1.1
-Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-
monadfail-instances -Wnoncanonical-monoid-instances -this-unit-id ghc
-XHaskell2010 -XNoImplicitPrelude -optc-DTHREADED_RTS
-DGHCI_TABLES_NEXT_TO_CODE -DSTAGE=2 -Rghc-timing -O0 -Wcpp-undef -no-
user-package-db -rtsopts -Wnoncanonical-monad-instances -odir
compiler/stage2/build -hidir compiler/stage2/build -stubdir
compiler/stage2/build -dynamic-too -c compiler/typecheck/TcPluginM.hs -o
compiler/stage2/build/TcPluginM.o -dyno
compiler/stage2/build/TcPluginM.dyn_o
compiler/typecheck/TcPluginM.hs:176:38: error:
• Data constructor not in scope:
EvExpr :: EvExpr -> TcEvidence.EvTerm
• Perhaps you meant variable ‘TcM.ctEvExpr’ (imported from TcRnMonad)
Perhaps you want to add ‘EvExpr’ to the import list
in the import of ‘TcEvidence’
(compiler/typecheck/TcPluginM.hs:(72,1)-(73,51)).
|
176 | setEvBind $ mkGivenEvBind new_ev (EvExpr evtm)
| ^^^^^^
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9123#comment:48>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list