From 4db8c54487404a0647985ba98c3a7a116c831636 Mon Sep 17 00:00:00 2001 From: keithw Date: Wed, 10 May 2000 11:28:47 +0000 Subject: [PATCH 1/1] [project @ 2000-05-10 11:28:47 by keithw] Add comment noting that StgLint is currently broken. --- ghc/compiler/stgSyn/StgLint.lhs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ghc/compiler/stgSyn/StgLint.lhs b/ghc/compiler/stgSyn/StgLint.lhs index 67b4c13..24bad62 100644 --- a/ghc/compiler/stgSyn/StgLint.lhs +++ b/ghc/compiler/stgSyn/StgLint.lhs @@ -34,6 +34,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} -- 1.7.10.4