patch applied (ghc): Work around missing type signature in Happy
Simon Peyton Jones
simonpj at microsoft.com
Mon Sep 13 05:53:11 EDT 2010
Fri Jul 30 05:24:05 PDT 2010 simonpj at microsoft.com
* Work around missing type signature in Happy
Happy generates
notHappyAtAll = error "Blah"
without a type signature, and currently the new
typechecker doesn't generalise it. This patch
says "no monomorphism restriction" which makes it
generalise again.
Better would be to add a type sig to Happy's template
M ./compiler/cmm/CmmParse.y -1 +9
M ./compiler/parser/Parser.y.pp -1 +9
M ./compiler/parser/ParserCore.y -1 +9
M ./utils/hpc/HpcParser.y -1 +9
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100730122405-1287e-d749e4c21151a7bcb6b07fb5aaf3d6689c01d482.gz
More information about the Cvs-ghc
mailing list