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.
1 parent 4d1de7f commit c1c7112Copy full SHA for c1c7112
lib/Sema/CSApply.cpp
@@ -7265,10 +7265,6 @@ Optional<SolutionApplicationTarget> ConstraintSystem::applySolution(
7265
if (!rewrittenExpr)
7266
return None;
7267
7268
- if (target.getExprContextualTypePurpose() == CTP_Initialization) {
7269
-
7270
- }
7271
7272
result.setExpr(rewrittenExpr);
7273
} else {
7274
auto fn = *target.getAsFunction();
test/Interpreter/repl.swift
@@ -194,7 +194,7 @@ pr = "foo"
194
pr.foo()
195
196
var _ : ([Int]).Type = type(of: [4])
197
-// CHECK: : ([Int]).Type
+// CHECK: : [Int].Type
198
var _ : ((Int) -> Int)? = .none
199
// CHECK: : ((Int) -> Int)?
200
func chained(f f: @escaping (Int) -> ()) -> Int { return 0 }
0 commit comments