comparison test/strings2.d @ 120:5ce8ab11e75a trunk

[svn r124] Fixed another D vararg + return in ptr bug. Fixed some nested function calls failed to resolve the context ptr.
author lindquist
date Mon, 26 Nov 2007 07:26:21 +0100
parents
children
comparison
equal deleted inserted replaced
119:79c9ac745fbc 120:5ce8ab11e75a
1 module strings2;
2
3 import std.string;
4 import std.stdio;
5
6 void main()
7 {
8 int i = 32;
9 auto str = format(i);
10 writefln(str);
11
12 long l = 123123;
13 str = format(l);
14 writefln(str);
15 }