Files
swift-mirror/lib/Sema/CSSimplify.cpp
Pavel Yaskevich 12a65fffee [CSSimplify] Further Restrict tuple splat behavior
`isSingleParam` used to return `true` regardless of type of
the identified single parameter, but splat only makes sense
if such type is a tuple or a type variable which could later
be resolved to tuple. Otherwise it makes it hard to diagnose
missing arguments.
2019-02-25 17:07:26 -08:00

228 KiB