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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #2 from RazvanN <[email protected]> ---
The error message has improved:

test.d(15): Error: generated function `test.RAMNode.opAssign` cannot be used
because it is annotated with `@disable`

Since the error happens in generated code, the compiler does not output it.
This makes sense as the user cannot directly modify generated code. So it just
informs that the generated code has failed. Ideally, the compiler would point
out an actionable item for the user to fix the breakage, however, currently the
rudimentary error handling in dmd does not allow for that.

Closing as WORKSFORME.

--

Reply via email to