‘class C using’ fails to parse with MonadComprehensions
TransformListComp / MonadComprehensions reserve using but should this not work?
{-# Language TransformListComp #-}
class C using
gives
$ ghci -ignore-dot-ghci /tmp/X.hs
GHCi, version 8.5.20180105: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( /tmp/X.hs, interpreted )
/tmp/X.hs:3:9: error: parse error on input ‘using’
|
3 | class C using
| ^^^^^
Failed, no modules loaded.
Prelude>
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.2.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |