Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 23, 2019 [Issue 13818] Unhelpful error message for rvalue reference: incompatible types for ((S()) + (S())): 'S' and 'S' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13818 Nathan S. <n8sh.secondary@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |n8sh.secondary@hotmail.com Hardware|x86_64 |All OS|Linux |All --- Comment #1 from Nathan S. <n8sh.secondary@hotmail.com> --- As of https://github.com/dlang/dmd/pull/7441 the error message is "Error: incompatible types for (S()) + (S()): both operands are of type S". -- |
August 25, 2019 [Issue 13818] Unhelpful error message for rvalue reference: incompatible types for ((S()) + (S())): 'S' and 'S' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13818 --- Comment #2 from Ali Cehreli <acehreli@yahoo.com> --- There is no issue with both operands being S. The issue seems to be the fact that the second operand is an rvalue. So, a helpful message would be "cannot bind rvalue S to ref parameter". Ali -- |
December 17, 2022 [Issue 13818] Unhelpful error message for rvalue reference: incompatible types for ((S()) + (S())): 'S' and 'S' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13818 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 13818] Unhelpful error message for rvalue reference: incompatible types for ((S()) + (S())): 'S' and 'S' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13818 --- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17690 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation