Re: [GHC] #4137: real/veritas/DerivedRules.hs features invalid multibyte/wide char
#4137: real/veritas/DerivedRules.hs features invalid multibyte/wide char +--- Reporter: TristanAllwood | Owner: Type: bug| Status: closed Priority: normal | Milestone: Component: NoFib benchmark suite |Version: 6.12.3 Resolution: fixed | Keywords: Difficulty: | Os: Unknown/Multiple Testcase: | Architecture: Unknown/Multiple Failure: None/Unknown | +--- Changes (by simonmar): * status: new = closed * resolution: = fixed Comment: Fixed: {{{ Fri Jun 25 11:22:45 BST 2010 Simon Marlow marlo...@gmail.com * convert to UTF-8 (#4137) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4137#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4137: real/veritas/DerivedRules.hs features invalid multibyte/wide char
#4137: real/veritas/DerivedRules.hs features invalid multibyte/wide char +--- Reporter: TristanAllwood | Owner: Type: bug| Status: closed Priority: normal | Milestone: Component: NoFib benchmark suite |Version: 6.12.3 Resolution: fixed | Keywords: Difficulty: | Os: Unknown/Multiple Testcase: | Architecture: Unknown/Multiple Failure: None/Unknown | +--- Changes (by kfrdbs): * cc: kfr...@… (added) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4137#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #4137: real/veritas/DerivedRules.hs features invalid multibyte/wide char
#4137: real/veritas/DerivedRules.hs features invalid multibyte/wide char -+-- Reporter: TristanAllwood| Owner: Type: bug | Status: new Priority: normal| Component: NoFib benchmark suite Version: 6.12.3|Keywords: Os: Unknown/Multiple |Testcase: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- Around line 113 of {{{real/veritas/DerivedRules.hs}}} features the following comment: {{{ {- (**) (* » ù » æ *) (* - conj *) (* » ù ³ æ *) (**) -} }}} This causes readFile (and thus hpc) to choke: {{{ ghci-6.12.1 GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Prelude readFile ../nofib-clean/real/veritas/DerivedRules.hs module DerivedRules where\n\nimport Type_defs\n\nimport ...elided... iL\n\n\t iLL = find 0 [] tm\n\n\t tm' = foldl lift_fn tm iLL\n\n\n{-\n(**)\n(* *** Exception: ../nofib-clean/real/veritas/DerivedRules.hs: hGetContents: invalid argument (Invalid or incomplete multibyte or wide character) Prelude Leaving GHCi. }}} This doesn't affect 6.10.1 so I guess it's at the interaction of the new IO/unicode encoding work that went into 6.12. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4137 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs