Files
swift-mirror/lib/Sema/CSGen.cpp
Pavel Yaskevich e66aa61092 [CSGen] Allow _ pattern to assume type of initializer expression
`_` pattern doesn't have a type, it's always contextual, so let's
allow it to assume a type of initializer expression instead of
creating a new type variable. This helps to makes sure that initializer
would never get a placeholder type from `_` pattern it's associated
with.
2022-08-03 15:50:33 -07:00

176 KiB