Running the Phobos unittest program yields:
Error: Unboxed bool as int; however, unboxable says it should fail.
Fix: Replace line 709:
return *cast(void**) value.data;
if (isArrayTypeInfo(value.type))
return *cast(void[]*) value.data;
- if (typeid(Object) == value.type)
return *cast(Object*) value.data;
throw new UnboxException(value, typeid(T));
with:
+ if (cast(TypeInfo_Class) value.type)
Note: Typeinfo_Interface probably also needs to be handled here and in unboxable().