www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - TypeInfo.toString on functions and delegates missing parameters

Using DMD 0.127, Windows 98SE.

The toString of a TypeInfo representing a function or delegate is 
missing the function parameters.  Also, for function it's returning a 
weird notation that isn't valid D syntax.

import std.stdio;

void main() {
     int()* abc;

     writefln(typeid(int function()));
     writefln(typeid(int delegate()));
     writefln(typeid(void function(int)));
     writefln(typeid(char[] delegate(int)));
     writefln(typeid(char[char] delegate(real, uint)));
int delegate()
char[] delegate()
char[char] delegate()


int function()
int delegate()
void function(int)
char[] delegate(int)
char[char] delegate(real, uint)


My e-mail is valid but not my primary mailbox.  Please keep replies on 
the 'group where everyone may benefit.
Jun 22 2005