mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] The ASTContext parameter in FuncDecl::getResultType() is not really needed.
Swift SVN r9798
This commit is contained in:
@@ -995,7 +995,7 @@ public:
|
||||
Patterns[i]->print(OS);
|
||||
OS << " -> ";
|
||||
}
|
||||
Type ResultType = FD->getResultType(Ctx);
|
||||
Type ResultType = FD->getResultType();
|
||||
if (ResultType->isVoid())
|
||||
OS << "Void";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user