On Saturday, 13 January 2018 at 19:40:09 UTC, Adam D. Ruppe wrote:
On Saturday, 13 January 2018 at 19:15:49 UTC, kdevel wrote:
dmd checks the types but does not count the arguments.

so note that dmd doesn't actually do any checks here - it is all done in library code.

The implementation is amusingly simple:
https://github.com/dlang/phobos/blob/master/std/format.d#L5803

Yeah there's already an interesting issue about this

https://issues.dlang.org/show_bug.cgi?id=17381


Reply via email to