On 2/25/2020 1:36 AM, aliak wrote:
This may have already been answered in the other threads, but I was just wondering if anyone managed to propose a way to avoid this scenario with DIP1027?

void f(string s, int i = 0);
f(i"hello $a"); // silent unwanted bahviour.

?

It is lowered to:

  f("hello %s", a);

as designed. I don't know what's unwanted about it.

Reply via email to