File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -8415,6 +8415,10 @@ Type Solution::getType(ASTNode node) const {
8415
8415
return cs.getType (node);
8416
8416
}
8417
8417
8418
+ Type Solution::getResolvedType (ASTNode node) const {
8419
+ return simplifyType (getType (node));
8420
+ }
8421
+
8418
8422
void Solution::setExprTypes (Expr *expr) const {
8419
8423
if (!expr)
8420
8424
return ;
Original file line number Diff line number Diff line change @@ -1190,6 +1190,11 @@ class Solution {
1190
1190
// / Retrieve the type of the given node, as recorded in this solution.
1191
1191
Type getType (ASTNode node) const ;
1192
1192
1193
+ // / Retrieve the type of the given node as recorded in this solution
1194
+ // / and resolve all of the type variables in contains to form a fully
1195
+ // / "resolved" concrete type.
1196
+ Type getResolvedType (ASTNode node) const ;
1197
+
1193
1198
// / Resolve type variables present in the raw type, using generic parameter
1194
1199
// / types where possible.
1195
1200
Type resolveInterfaceType (Type type) const ;
You can’t perform that action at this time.
0 commit comments