mirror of
https://github.com/dlang/dmd.git
synced 2025-04-25 20:50:41 +03:00
Improve opOpAssign error messages (#20800)
This commit is contained in:
parent
28bc5c6e74
commit
06e0096aca
7 changed files with 267 additions and 196 deletions
|
@ -53,7 +53,7 @@ app.d(1): perhaps define `auto opSlice(int lower, string upper) {}` for `
|
|||
*/
|
||||
---
|
||||
|
||||
When overloading binary operators, and `opBinary` or `opBinaryRight` is missing or doesn't match,
|
||||
When overloading binary operators, and `opBinary`, `opBinaryRight` or `opOpAssign` is missing / fails to instantiate,
|
||||
the error message now points out the problem:
|
||||
|
||||
---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue