On 8/5/22 11:24 AM, Steven Schveighoffer wrote:
On 8/4/22 10:27 PM, jfondren wrote:a.opOpAssign(b); b.opOpAssign(a);oof, I expected this to include the template parameters! I believe it normally does?
It does not! I'm genuinely shocked. ```d void foo(string s, T)(T t) {} void main() { foo!"hi"(1); } ``` outputs: ```d void foo(string s, T)(T t) { } void main() { foo(1); return 0; } ```
This is a bug that should be filed.
Make that an enhancement request -Steve