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
---
@RazvanN7 created dlang/dmd pull request #15332 "Fix Issue 23964 - [REG2.102]
inccorect error opAssign cannot be used …" fixing this issue:
- Fix Issue 23964 - [REG2.102] inccorect error opAssign cannot be used ...
@disable
https://github.com/dlang/dmd/pull/15332
--
https://issues.dlang.org/show_bug.cgi?id=23964
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=23964
johanenge...@weka.io changed:
What|Removed |Added
Keywords||industry, rejects-valid
--