cvs commit: fptools/ghc/compiler/ghci InteractiveUI.hs

Simon Marlow simonmar@microsoft.com
Fri, 16 Feb 2001 01:32:20 -0800


> On Mon, Feb 12, 2001 at 08:07:54AM -0800, Simon Marlow wrote:
> 
> > > And I can crash GHCi by typing
> > >     :def crash const ()) $ \_ -> (undefined
> > >     :crash
> > > :-)
> 
> > feature, not a bug. :)
> 
> Even with those misplaced parentheses?

Yes - the problem is that we wrap the expression textually as "( e ) ::
String -> String".  I should really arrange to do this in the
typechecker instead.

Cheers,
	Simon