[Issue 3625] Rebindable does not work with forward declarations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 20 15:03:29 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3625


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|                            |smjg at iname.com


--- Comment #1 from Stewart Gordon <smjg at iname.com> 2009-12-20 15:03:28 PST ---
You forgot to post the error messages.

----------
bz3625.d(4): Error: template instance Rebindable!(const(B)) does not match
templ
ate declaration Rebindable(T) if (is(T : Object) || isArray!(T))
bz3625.d(4): Error: Rebindable!(const(B)) is used as a type
bz3625.d(4): Error: variable bz3625.A.r voids have no value
----------
(DMD 2.036 Windows)

Moreover, are you sure this is a Phobos bug and not a compiler bug?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list