Ticket #91 (new defect)
Opened 4 years ago
Parser error
| Reported by: | guest | Owned by: | nobody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | parsing | Version: | 200609 |
| Keywords: | Cc: |
Description
Neil Turton says:
I wrote the following haskell program and hugs reported an internal compiler error when I tried to load it. The syntax is invalid but I would expect a sensible error message rather than the internal error which I got.
falcon:tmp$ cat foo.hs class Foo x where
- foo
- x
instance Foo () where
foo ?
falcon:tmp$ hugs foo.hs _ _
| Hugs 98: Based on the Haskell 98 standard | ||||||
| _ | Copyright (c) 1994-2005 | |||||
| --- | _ | World Wide Web: http://haskell.org/hugs | ||||
| Bugs: http://hackage.haskell.org/trac/hugs | ||||||
| Version: September 2006 _ |
Haskell 98 mode: Restart with command line option -98 to enable extensions
INTERNAL ERROR: parseInput Please report this Hugs bug to http://hackage.haskell.org/trac/hugs Hugs> _
Note: See
TracTickets for help on using
tickets.
