4 fail_compilation/fail58.d(26): Error: function `fail58.SomeFunc(dchar[] pText, out int pStopPosn)` is not callable using argument types `(string, int)`
5 fail_compilation/fail58.d(26): cannot pass argument `"123"` of type `string` to parameter `dchar[] pText`
6 fail_compilation/fail58.d(30): Error: function `fail58.SomeFunc(dchar[] pText, out int pStopPosn)` is not callable using argument types `(string, int)`
7 fail_compilation/fail58.d(30): cannot pass argument `""` of type `string` to parameter `dchar[] pText`
10 debug import std
.stdio
;
11 const int anything
= -1000; // Line #2
12 dchar[] SomeFunc( dchar[] pText
, out int pStopPosn
)
14 if (pText
.length
== 0)
18 debug writefln("DEBUG: using '%s' we get %d", pText
, pStopPosn
);
22 int main(char[][] pArgs
)
27 debug writefln("DEBUG: got %d", sp
);
31 // if (sp != 0){} // Line #22
32 debug writefln("DEBUG: got %d", sp
);