Interface Covariance Bug?
Stewart Gordon
smjg_1998 at yahoo.com
Tue Mar 28 03:38:47 PST 2006
John C wrote:
> "Walter Bright" <newshound at digitalmars.com> wrote in message
> news:e09vmu$2ubc$1 at digitaldaemon.com...
>> It's a forward reference problem. Try reversing the declarations of keys()
>> and KeyCollection.
>
> Thanks - that fixed it.
>
> But surely it highlights a separate bug: forward referencing isn't supposed
> to be an issue in D, is it?
Looking at your code again, it appears to be a case of
http://d.puremagic.com/bugzilla/show_bug.cgi?id=65
I've just noticed that my testcase contains a forward reference as well.
Guess I'll have to try rewriting it without the forward reference and
see what happens.
Stewart.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS-
PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------
My e-mail is valid but not my primary mailbox. Please keep replies on
the 'group where everyone may benefit.
More information about the Digitalmars-d-bugs
mailing list