https://issues.dlang.org/show_bug.cgi?id=9149
--- Comment #12 from Steven Schveighoffer <schvei...@yahoo.com> --- Yes I see. The issue is the conversion of the delegate type, when the context pointer is changed to const (but you didn't change the function pointer, so it still assumes it's argument is mutable). I agree with you. So basically, any struct or class instance cannot convert to const (or via pure constructor to immutable) if it contains a non-const delegate. Yuck, but I think we have to do that. --