X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Fcompiler%2FstgSyn%2FStgLint.lhs;h=6a72b9e9d821d8282ee1b5590456d8c31d251b14;hb=67a402e25d3707ce4e031e809b874f8341032d23;hp=c0300a5cf73d30b386faf9362078b41ad58de867;hpb=111cee3f1ad93816cb828e38b38521d85c3bcebb;p=ghc-hetmet.git diff --git a/ghc/compiler/stgSyn/StgLint.lhs b/ghc/compiler/stgSyn/StgLint.lhs index c0300a5..6a72b9e 100644 --- a/ghc/compiler/stgSyn/StgLint.lhs +++ b/ghc/compiler/stgSyn/StgLint.lhs @@ -33,6 +33,18 @@ Checks for (a) *some* type errors (b) locally-defined variables used but not defined + +Note: unless -dverbose-stg is on, display of lint errors will result +in "panic: bOGUS_LVs". + +WARNING: +~~~~~~~~ + +This module has suffered bit-rot; it is likely to yield lint errors +for Stg code that is currently perfectly acceptable for code +generation. Solution: don't use it! (KSW 2000-05). + + %************************************************************************ %* * \subsection{``lint'' for various constructs}