Just another example of missing string interpolation

Walter Bright newshound2 at digitalmars.com
Wed Oct 18 00:27:16 UTC 2023


On 10/17/2023 1:44 PM, Adam D Ruppe wrote:
> On Tuesday, 17 October 2023 at 20:05:59 UTC, Walter Bright wrote:
>> Yes, it means I forgot to use writef instead of write.
> 
> And the compiler wouldn't have told you about this.

Neither would YAIDIP. write() takes a variadic argument list.

YAIDIP also requires the correct version of user-defined InterpolationHeader to 
be the one in scope. It's not immediately clear what would happen if the wrong 
one was in scope.



More information about the Digitalmars-d mailing list