https://issues.dlang.org/show_bug.cgi?id=12931
--- Comment #3 from Kenji Hara <[email protected]> --- (In reply to Jonathan M Davis from comment #0) > Can we _please_, _please_ make it illegal to put any function attribute > which could also modify the return type on the left-hand side of the > function? I think it would be nice improvement. > It would be nice to make it so that > > const Bar foo() {...} > > were then the same as > > const(Bar) foo() {...} There was a discussion in issue 10150 about it. --
