Fri Jul 30 05:24:05 PDT 2010 [email protected]
* 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
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc