mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-11 09:07:01 +02:00
[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:
@@ -0,0 +1,12 @@
|
||||
module bug74;
|
||||
|
||||
char[] sformat(char[] s, ...)
|
||||
{
|
||||
TypeInfo[] ti = _arguments;
|
||||
void* args = _argptr;
|
||||
return "";
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
module bug75;
|
||||
|
||||
void func(void delegate() dg)
|
||||
{
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
void nested() {
|
||||
}
|
||||
//func(&nested);
|
||||
void delegate() dg = &nested;
|
||||
}
|
||||
Reference in New Issue
Block a user