[lhc] #18: UnpackedPoly fails to translate into well-scoped Grin
lhc
lhc at projects.haskell.org
Tue Feb 10 15:07:07 EST 2009
#18: UnpackedPoly fails to translate into well-scoped Grin
---------------------------+------------------------------------------------
Reporter: SamB | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 0.7
Component: Grin | Version: HEAD
Resolution: | Keywords:
Testcase: UnpackedPoly |
---------------------------+------------------------------------------------
Comment (by anonymous):
Well, it looks like the "instance ToVal TVr" in Grin.FromE isn't really
very safe --if the TVr refers to a global variable, the resulting Grin
value won't make any sense.
The (_, EVar etvr) case in the code that handles ECase is where it's being
called from in this case. I would provide more detail, but my computer
just sponta-rebooted again.
--
Ticket URL: <http://trac.haskell.org/lhc/ticket/18#comment:1>
lhc <http://lhc.seize.it>
the LHC Haskell Compiler
More information about the Lhc
mailing list