File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -1410,13 +1410,6 @@ namespace {
14101410 type = CS.getInstanceType (CS.cacheType (E));
14111411 assert (type && " Implicit type expr must have type set!" );
14121412 type = CS.replaceInferableTypesWithTypeVars (type, locator);
1413- } else if (CS.hasType (E)) {
1414- // If there's a type already set into the constraint system, honor it.
1415- // FIXME: This supports the result builder transform, which sneakily
1416- // stashes a type in the constraint system through a TypeExpr in order
1417- // to pass it down to the rest of CSGen. This is a terribly
1418- // unprincipled thing to do.
1419- return CS.getType (E);
14201413 } else {
14211414 auto *repr = E->getTypeRepr ();
14221415 assert (repr && " Explicit node has no type repr!" );
You can’t perform that action at this time.
0 commit comments