`default` declaration doesn't allow higher-kinded types
Since we now have #10971 (closed), I would expect the following to work:
{-# LANGUAGE ExtendedDefaultRules #-}
module Bug where
default (Maybe, [])
But it doesn't. Sadly, the default default list contains [], but the user can never set this.
Fix on the way.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |