Files
swift-mirror/lib/Sema/CSSimplify.cpp
Pavel Yaskevich ea4ac2c332 [CSSimplify] Fix trailing closure vs. defaulted parameter matching
If current parameter cannot accept a trailing closure, let's match
current closure argument to it only if there is absolutely no
possible other choice e.g. no other parameters (defaulted or not)
that could accept the closure via a less restrictive backward scan.
2022-06-14 11:41:19 -07:00

524 KiB