Underscore not a valid name for a class member
|Reported by:||trinithis||Owned by:|
|Type of failure:||GHC rejects valid program||Test Case:|
|Related Tickets:||Differential Revisions:|
The following program is rejected:
class Foo a where _ :: a
Note I could only reproduce when using a single underscore character. Multiple underscores work fine. Mixing underscores with other identifier characters works as well.