https://issues.dlang.org/show_bug.cgi?id=23964

--- Comment #3 from johanenge...@weka.io ---
> A workaround is to make `foo` @safe. That will make the code to compile.

Thanks, this indeed works and helps me out again now. A big problem with this
bug is that it is _very_ hard to find the reason for the @disabling of opAssign
in a normal codebase. So it is highly non-trivial to find out that setting
@safe on a function somewhere is going to fix the compile error...

--

Reply via email to