summaryrefslogtreecommitdiff
path: root/ghc/compiler/reader
diff options
context:
space:
mode:
authorsimonpj <unknown>1998-01-12 09:29:32 +0000
committersimonpj <unknown>1998-01-12 09:29:32 +0000
commit9f184c01be2fa5fa13bfcb70a8fe32beb7bb11fc (patch)
treef750157a043dd58ff014324974a78778092bfe2c /ghc/compiler/reader
parentda2eb909de35c821ba4e1528e840726c30211d4c (diff)
downloadhaskell-9f184c01be2fa5fa13bfcb70a8fe32beb7bb11fc.tar.gz
[project @ 1998-01-12 09:29:22 by simonpj]
Fix renamer global/local env bug
Diffstat (limited to 'ghc/compiler/reader')
-rw-r--r--ghc/compiler/reader/Lex.lhs13
1 files changed, 13 insertions, 0 deletions
diff --git a/ghc/compiler/reader/Lex.lhs b/ghc/compiler/reader/Lex.lhs
index f04e4cecb8..b3126559dc 100644
--- a/ghc/compiler/reader/Lex.lhs
+++ b/ghc/compiler/reader/Lex.lhs
@@ -1,3 +1,16 @@
+--------------------------------------------------------
+[Jan 98]
+There's a known bug in here:
+
+ If an interface file ends prematurely, Lex tries to
+ do headFS of an empty FastString.
+
+An example that provokes the error is
+
+ f _:_ _forall_ [a] <<<END OF FILE>>>
+--------------------------------------------------------
+
+
%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1996
%