https://issues.dlang.org/show_bug.cgi?id=18058
--- Comment #5 from Maksim Fomin <[email protected]> --- (In reply to Shachar Shemesh from comment #3) > (In reply to Maksim Fomin from comment #1) > > > The second problem is that the lowering is overly complicated. Instead > > > of lowering to: > > > > Again, currently compiler behaves according to the spec (in my > > understanding). If you prefer option 1 you can write it explicitly. > > No, I cannot. "lazy" and "delegate" behave the same only internally. As far > as syntax goes, I cannot get the delegate that a lazy has turned into, nor > can I can pass a delegate where a function expects a lazy argument. I meant rewriting in another syntax explicitly. --
