Commit Graph

4 Commits

Author SHA1 Message Date
Kavon Farvardin
0420310623 NCGenerics: it's no longer "experimental"
resolves rdar://127701059
2024-05-08 10:49:12 -07:00
Meghana Gupta
76581eac95 Disable test Interpreter/escapable_generics_casting.swift 2024-04-08 11:54:33 -07:00
Doug Gregor
2b390d1a6a Mark tests that require the new runtime for invertible protocols support
Fixes rdar://125628899
2024-03-29 14:48:33 -07:00
Doug Gregor
11774e5d17 [Runtime] Check function types against suppressible protocols
Form a set of suppressed protocols for a function type based on
the extended flags (where future compilers can start recording
suppressible protocols) and the existing "noescape" bit. Compare
that against the "ignored" suppressible protocol requirements, as we
do for other types.

This involves a behavior change if any client has managed to evade the
static checking for noescape function types, but it's unlikely that
existing code has done so (and it was unsafe anyway).
2024-03-22 07:45:50 -07:00