You know how I was saying in my DConf talk...

Ethan gooberman at gmail.com
Wed Jul 24 02:12:53 UTC 2019


On Wednesday, 24 July 2019 at 01:10:34 UTC, Ethan wrote:
> On Wednesday, 24 July 2019 at 01:06:18 UTC, Ethan wrote:
>>
>
> It's 4am and I was planning on having a major feature finished 
> 8 hours ago, but I've been running in to static foreach and 
> mixin bugs all day.

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

........and when trying to get to sleep, I decided to try forward 
declarations for the functions I was having issues with in 
mixins. And finally hit upon what I think are the root problems 
I've been having.

Mixin templates have been broken in one way or another since I 
started using D in 2012. This static foreach bug I've found just 
seems to highlight to me that the method of defining a separate 
scope and importing in to the parent after the fact just plain 
doesn't work.


More information about the Digitalmars-d mailing list