Commit Graph

2 Commits

Author SHA1 Message Date
Pavel Yaskevich
30c196118e [CSSimplify] Handle invalid type specializations
If the base type of the specialization is invalid,
the AST node is going to be replaced with `ErrorExpr`.

We need to handle that gracefully when attempting
to apply specialization in such situations.

Resolves: https://github.com/swiftlang/swift/issues/77644
2024-11-15 11:10:51 -08:00
Hamish Knight
b9cb2f3734 [test] Add test case for rdar://139913219 2024-11-15 14:27:07 +00:00