Update Release

This commit is contained in:
Zihan Chen
2017-07-21 23:16:28 -07:00
parent 374e7cf3d6
commit d064b5a706
135 changed files with 40173 additions and 38342 deletions
+7 -1
View File
@@ -4381,9 +4381,15 @@ CreateBindContext
void Visit(WfConstructorExpression* node)override
{
auto result = manager->expressionResolvings[node];
bool isStruct = (result.type->GetTypeDescriptor()->GetTypeDescriptorFlags() == TypeDescriptorFlags::Struct);
FOREACH(Ptr<WfConstructorArgument>, argument, node->arguments)
{
DirectDepend(node, argument->key.Obj());
if (!isStruct)
{
DirectDepend(node, argument->key.Obj());
}
DirectDepend(node, argument->value.Obj());
}
}