[serialization] Set the type of the FuncExpr in a FuncDecl.

Swift SVN r6515
This commit is contained in:
Jordan Rose
2013-07-23 23:09:53 +00:00
parent 54a1912153
commit 5689d1a4a4

View File

@@ -803,6 +803,7 @@ Decl *ModuleFile::getDecl(DeclID DID, Optional<DeclContext *> ForcedContext,
argPatterns, bodyPatterns,
TypeLoc::withoutLoc(signature->getResult()),
DC);
body->setType(signature);
fn->setBody(body);
if (genericParams)