[Issue 19126] Compiler removes inout on templated parameter and then complains it's not there
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 30 12:50:29 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19126
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |schveiguy at yahoo.com
See Also| |https://issues.dlang.org/sh
| |ow_bug.cgi?id=13006
--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Really, the issue here is that the compiler disallows inout returns without
inout parameters. If we fixed issue 13006, this would resolve itself.
However, we have the option to fix this issue, or at least fix the error
message to indicate what the compiler has done.
--
More information about the Digitalmars-d-bugs
mailing list