mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[serialization] Set the type of the FuncExpr in a FuncDecl.
Swift SVN r6515
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user