https://issues.dlang.org/show_bug.cgi?id=20167
--- Comment #2 from Manu ---
Interesting.
I did this same test, but I didn't have `nothrow`.
Why wasn't `nothrow` inferred for this trivial function where the source is as
plain as day to the compiler?
We're meant to be all about attribute
https://issues.dlang.org/show_bug.cgi?id=20167
Dennis changed:
What|Removed |Added
CC||dkor...@live.nl
--- Comment #1 from Dennis ---
https://issues.dlang.org/show_bug.cgi?id=20167
Issue ID: 20167
Summary: Issue warning when result discarded from strong pure
function?
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=20021
--- Comment #5 from Dlang Bot ---
dlang/dmd pull request #10348 "Merge remote-tracking branch 'upstream/stable'
into merge_stable" was merged into master:
- 421e9ce137c6aff941ebde92863c53292226a0b3 by aG0aep6G:
fix issue 20021 - static if doesn't
https://issues.dlang.org/show_bug.cgi?id=13818
--- Comment #2 from Ali Cehreli ---
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
--
https://issues.dlang.org/show_bug.cgi?id=20163
Dlang Bot changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Dlang Bot ---
https://issues.dlang.org/show_bug.cgi?id=15651
--- Comment #6 from Harry Vennik ---
(In reply to Steven Schveighoffer from comment #3)
> In fact, we should allow inout to be used ANYWHERE, except global variables
> (as putting inout variables in global space can change the meaning from call
> to