[Issue 22862] Functions cannot be overloaded on return value alone.

2022-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22862 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 22862] Functions cannot be overloaded on return value alone.

2022-03-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22862 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot ---

[Issue 22862] Functions cannot be overloaded on return value alone.

2022-03-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22862 --- Comment #1 from FeepingCreature --- To clarify, what I'm asking is to remove: test.d(2): Error: function `test.foo()` conflicts with previous declaration at test.d(1) And rely on: test.d(4): Error: `test.foo` called with argument types `()`