|
[ ghc-Bugs-1234256 ] instance of synonym: msg#00059lang.haskell.glasgow.bugs
Bugs item #1234256, was opened at 2005-07-07 09:16 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: Open Resolution: None 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 ---------------------------------------------------------------------- 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-1234239 ] Bad location for violation of functional dependency, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1219920 ] socketToHandle, hGetContents cause errors in ghci, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1234239 ] Bad location for violation of functional dependency, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-1234256 ] instance of synonym, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |