https://issues.dlang.org/show_bug.cgi?id=22042 --- Comment #4 from moonlightsentinel at disroot.org --- Further reduction: shared(void delegate()[]) onRelease; void main() { onRelease ~= (){}; } --