[GHC] #3263: Warnings for monadic values not used
GHC
trac at galois.com
Thu Oct 15 07:48:47 EDT 2009
#3263: Warnings for monadic values not used
-----------------------------------+----------------------------------------
Reporter: NeilMitchell | Owner: igloo
Type: merge | Status: reopened
Priority: normal | Milestone: 6.12.1
Component: Compiler | Version: 6.10.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: ghci/scripts/T3263 | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
-----------------------------------+----------------------------------------
Changes (by simonpj):
* testcase: => ghci/scripts/T3263
* status: closed => reopened
* resolution: fixed =>
* type: feature request => merge
Comment:
Good point. Fixed by:
{{{
Thu Oct 15 12:44:37 BST 2009 simonpj at microsoft.com
* Fix Trac #3263: don't print Hpc tick stuff unless -dppr-debug is on
In general, when pretty-printing HsSyn, we omit the extra info added by
GHC
(type appplications and abstractions, etc) when printing stuff for the
user.
But we weren't applying that guideline to the HsTick stuff for Hpc.
This
patch adds the necessary tests.
M ./compiler/hsSyn/HsBinds.lhs -13 +23
M ./compiler/hsSyn/HsExpr.lhs -8 +11
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3263#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list