We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypedNode
1 parent 08e09fc commit 6335a4fCopy full SHA for 6335a4f
include/swift/AST/Expr.h
@@ -3759,7 +3759,12 @@ class ClosureExpr : public AbstractClosureExpr {
3759
assert(hasExplicitResultType() && "No explicit result type");
3760
return ExplicitResultType;
3761
}
3762
-
+
3763
+ TypeRepr *getExplicitResultTypeRepr() const {
3764
+ assert(hasExplicitResultType() && "No explicit result type");
3765
+ return ExplicitResultType.getTypeRepr();
3766
+ }
3767
3768
void setExplicitResultType(SourceLoc arrowLoc, TypeLoc resultType) {
3769
ArrowLoc = arrowLoc;
3770
ExplicitResultType = resultType;
0 commit comments