swift
607f49dc - [TypeChecker] Find outermost paren or tuple while checking invalid `inout` use

Commit
5 years ago
[TypeChecker] Find outermost paren or tuple while checking invalid `inout` use Unwrap `InOutExpr` from all parens until the outermost paren or a tuple to correctly diagnose calls like `foo(((&bar)))` or `foo(x: (&bar))`, and suggest a fix-it with moves `&` outside parens. Resolves: rdar://problem/71356981
Author
Committer
Parents
Loading