Thread overview
typeinfo is broken for float arrays
Nov 11, 2004
Ilya Zaitseff
Nov 14, 2004
Thomas Kühne
Nov 15, 2004
Thomas Kühne
November 11, 2004
// 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
November 14, 2004
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[]);
> }

November 15, 2004
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