Comment #0 by bearophile_hugs — 2014-03-24T05:31:28Z
void main() {
import std.stdio: readf, stdin;
int[] v;
stdin.readf("%(%d %)", v);
}
dmd 2.066alpha:
...\dmd2\src\phobos\std\format.d(575,26): Deprecation: using * on an array is deprecated; use *(_param_2).ptr instead
...\dmd2\src\phobos\std\format.d(586,13): Deprecation: using * on an array is deprecated; use *(_param_2).ptr instead
Comment #1 by andrej.mitrovich — 2014-04-21T20:35:28Z
Even if worked around the code doesn't seem to work at runtime:
object.Exception@C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\format.d(4069): Wrong unformat specifier '%(' for int
Do you know if 'stdin.readf("%(%d %)", array);' has ever been supported?
Comment #2 by b2.temp — 2015-11-27T16:18:12Z
You've already reported it ^^
*** This issue has been marked as a duplicate of issue 8260 ***