[Issue 8813] Cannot define delegate with const/immutable/shared/inout attributes
https://issues.dlang.org/show_bug.cgi?id=8813 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --
[Issue 8813] Cannot define delegate with const/immutable/shared/inout attributes
http://d.puremagic.com/issues/show_bug.cgi?id=8813 --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-10-14 20:50:28 PDT --- (In reply to comment #0) This code doesn't work: --- void main() { auto dg = delegate() const { }; // NG } --- In