[svn r123] Fixed some typeinfo module name mismatches.

Fixed D-style varargs returning through pointer.
Fixed converting nested function to delegate.
Added std.string and std.format to Phobos.
This commit is contained in:
Tomas Lindquist Olsen
2007-11-26 06:45:13 +01:00
parent 26beb7f43d
commit 282f60e4a0
11 changed files with 61 additions and 27 deletions

12
test/bug74.d Normal file
View File

@@ -0,0 +1,12 @@
module bug74;
char[] sformat(char[] s, ...)
{
TypeInfo[] ti = _arguments;
void* args = _argptr;
return "";
}
void main()
{
}

13
test/bug75.d Normal file
View File

@@ -0,0 +1,13 @@
module bug75;
void func(void delegate() dg)
{
}
void main()
{
void nested() {
}
//func(&nested);
void delegate() dg = &nested;
}