What is: Orphan format arguments: args[0..1]
Charles Hixson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Mar 15 11:34:17 PDT 2015
What is: Orphan format arguments: args[0..1]
It appears to come from within unittest at the line:
string s = "{0}".format(cast(int)d2[i]);
d2 is:
ubyte d2[];
It should be 512 bytes long, but that hasn't been checked at the point
of the error.
The compilation used was:
rdmd --main -unittest -Dddocs blockf.d
(but dmd gave the same error on a slightly mover complex version)
The compiler was:
DMD64 D Compiler v2.066.1
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright
and the system was debian testing Linux.
More information about the Digitalmars-d-learn
mailing list