This commit is contained in:
Zihan Chen
2017-01-24 22:51:12 -08:00
parent a4f458c4f6
commit 7aba6bbb17
5 changed files with 37 additions and 15 deletions
+14
View File
@@ -16047,6 +16047,20 @@ Expression Helpers
return;
}
}
else
{
if ((fromType->GetTypeDescriptor() == tdVe && fromType->GetElementType()->GetDecorator() == ITypeInfo::Generic)
|| fromType->GetHint() == TypeInfoHint::NativeCollectionReference
)
{
writer.WriteString(L"::vl::__vwsn::UnboxCollection<");
writer.WriteString(config->ConvertType(tdVe));
writer.WriteString(L">(");
writeExpression();
writer.WriteString(L")");
return;
}
}
}
switch (fromType->GetDecorator())