www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - typeinfo is broken for float arrays

reply "Ilya Zaitseff" <sark7 mail333.com> writes:
// WinXP, DMD 0.106

void main()
{
   TypeInfo f = typeid(float[]);
   TypeInfo fc = typeid(cfloat[]);
   TypeInfo fi = typeid(ifloat[]);
   TypeInfo d = typeid(double[]);
   TypeInfo dc = typeid(cdouble[]);
   TypeInfo di = typeid(idouble[]);
   TypeInfo r = typeid(real[]);
   TypeInfo rc = typeid(creal[]);
   TypeInfo ri = typeid(ireal[]);
}

typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Aj
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Af
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Aq
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Ao
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Ad
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Ar
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Ap
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Ae
typeinfobug.obj(typeinfobug)
  Error 42: Symbol Undefined __init_11TypeInfo_Ac
--- errorlevel 9
Nov 11 2004
parent reply Thomas =?UTF-8?B?S8O8aG5l?= <thomas-dloop kuehne.cn> writes:
Added to DStress as:
http://svn.kuehne.cn/dstress/run/typeid_04.d
...
http://svn.kuehne.cn/dstress/run/typeid_12.d

Thomas

Ilya Zaitseff schrieb am Donnerstag, 11. November 2004 23:22:
 void main()
 {
    TypeInfo f = typeid(float[]);
    TypeInfo fc = typeid(cfloat[]);
    TypeInfo fi = typeid(ifloat[]);
    TypeInfo d = typeid(double[]);
    TypeInfo dc = typeid(cdouble[]);
    TypeInfo di = typeid(idouble[]);
    TypeInfo r = typeid(real[]);
    TypeInfo rc = typeid(creal[]);
    TypeInfo ri = typeid(ireal[]);
 }
Nov 14 2004
parent Thomas =?UTF-8?B?S8O8aG5l?= <thomas-dloop kuehne.cn> writes:
in addition following typeinfos are missing:

void
http://svn.kuehne.cn/dstress/run/typeid_13.d

void[]
http://svn.kuehne.cn/dstress/run/typeid_14.d

bit[]
http://svn.kuehne.cn/dstress/run/typeid_17.d

Thomas
Nov 14 2004