mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: TypeChecker::computeCaptures() and friends should be static
This commit is contained in:
@@ -242,7 +242,7 @@ private:
|
||||
|
||||
// Captures have to be computed after the closure is type-checked. This
|
||||
// ensures that the type checker can infer <noescape> for captured values.
|
||||
TC.computeCaptures(Closure);
|
||||
TypeChecker::computeCaptures(Closure);
|
||||
|
||||
return {false, FinalExpr};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user