https://issues.dlang.org/show_bug.cgi?id=13424 --- Comment #2 from hsteoh at quickfur.ath.cx --- Ah, sorry, forgot to post complete example. Here it is: ------ struct S { void delegate(dchar) onChar = (dchar) {}; } void main() { S s; s.onChar('a'); } ------ --