[commit: ghc] master: IdInfo comment update (27aa733)
git at git.haskell.org
git at git.haskell.org
Mon May 11 09:06:28 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/27aa733a7a9854802b4622317c75d36c237c9067/ghc
>---------------------------------------------------------------
commit 27aa733a7a9854802b4622317c75d36c237c9067
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Mon May 11 11:04:43 2015 +0200
IdInfo comment update
occInfo and callArityInfo is like demandInfo and oneShotInfo: Data about
how the Id is used. [skip ci]
>---------------------------------------------------------------
27aa733a7a9854802b4622317c75d36c237c9067
compiler/basicTypes/IdInfo.hs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/compiler/basicTypes/IdInfo.hs b/compiler/basicTypes/IdInfo.hs
index 4c069ea..eb89789 100644
--- a/compiler/basicTypes/IdInfo.hs
+++ b/compiler/basicTypes/IdInfo.hs
@@ -173,9 +173,9 @@ pprIdDetails other = brackets (pp other)
-- 'Unique' (and are hence the same 'Id'); for example, one might lack
-- the properties attached to the other.
--
--- The 'IdInfo' gives information about the value, or definition, of the
--- 'Id'. It does not contain information about the 'Id''s usage,
--- except for 'demandInfo' and 'oneShotInfo'.
+-- Most of the 'IdInfo' gives information about the value, or definition, of
+-- the 'Id', independent of its usage. Exceptions to this
+-- are 'demandInfo', 'occInfo', 'oneShotInfo' and 'callArityInfo'.
data IdInfo
= IdInfo {
arityInfo :: !ArityInfo, -- ^ 'Id' arity
More information about the ghc-commits
mailing list