On 09/10/2015 12:00 AM, Martin Nowak via dmd-internals wrote:
> We should do more things in the compiler lazily and need a proper
> pipeline that keeps track of dependencies (and detects cycles).

Another bug cause by semantic order.

https://issues.dlang.org/show_bug.cgi?id=15044

It's clear that doing things like this

https://github.com/9rnsr/dmd/blob/d167403e777bcf91c50a7fd8eedf5100ac1ab50d/test/compilable/test14838.d#L19

or this

https://github.com/D-Programming-Language/dmd/blob/891d17a67d9e07af1b4743b85aaf79e120858a6d/src/dstruct.d#L379
https://github.com/D-Programming-Language/dmd/blob/891d17a67d9e07af1b4743b85aaf79e120858a6d/src/dstruct.d#L565

manually cannot workout. We need to explicitly declare such order
dependencies and resolve them automatically.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to