Seems as if the issue is here:
|
auto support = (cast(void*) ob)[0 .. typeid(ob).initializer.length]; |
Known issue (filed in 2014? wtf?):
https://issues.dlang.org/show_bug.cgi?id=13833
You can find a proof of concept of this here (comment only the for block out),
https://gist.github.com/hatf0/9de09fd8e78e21e42f89199312852858