Underscore not a valid name for a class member
|Reported by:||trinithis||Owned by:|
|Type of failure:||GHC rejects valid program||Difficulty:|
|Test Case:||Blocked By:|
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.