Interface Covariance Bug?
Stewart Gordon
smjg_1998 at yahoo.com
Tue Mar 28 03:06:18 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?
Correct.
You'll notice that many forward reference bugs have been filed both here
and in DStress. But a forward reference bug that leads to bad code
generation is a new one on me.
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