|
[ ghc-Bugs-1234256 ] instance of synonym: msg#00063lang.haskell.glasgow.bugs
Bugs item #1234256, was opened at 2005-07-07 16:16 Message generated for change (Comment added) made by simonpj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1234256&group_id=8032 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compiler (Type checker) Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: instance of synonym Initial Comment: The following non-Haskell 98 instance is accepted even without -fglasgow-exts: type Foo = Double instance Bounded Foo The error message quotes the relevant part of the Report (The instance type must be of form (T a b c) where T is not a synonym, and a,b,c are distinct type variables) and the code expresses this, but it seems that type synonyms have already been expanded, so only non-saturated ones are left at this stage. ross@xxxxxxxxxxxxxx ---------------------------------------------------------------------- >Comment By: Simon Peyton Jones (simonpj) Date: 2005-07-08 15:08 Message: Logged In: YES user_id=50165 Good point. Now fixed, thank you tcfail139 tests it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1234256&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1234458 ] Hardcoded path to perl.exe, SourceForge.net |
|---|---|
| Next by Date: | RE: bug in ghc-6.4-src\libraries\base\Data\Version.hs, Simon Marlow |
| Previous by Thread: | [ ghc-Bugs-1234256 ] instance of synonym, SourceForge.net |
| Next by Thread: | bug in ghc-6.4-src\libraries\base\Data\Version.hs, Bulat Ziganshin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |