Commit Graph

5 Commits

Author SHA1 Message Date
Slava Pestov
d5cdfb2cf2 AST: Clone generic parameter list of tuple extension from extended typealias 2023-09-05 23:21:27 -04:00
Slava Pestov
68e1ba0a84 Merge pull request #68130 from slavapestov/irgen-fulfilling-tuple
IRGen: Fulfill pack metadata from tuple metadata
2023-08-24 21:24:15 -04:00
Slava Pestov
b2ffac54d3 IRGen: Fulfill pack metadata from tuple metadata
When the SelfMetadata in a witness thunk is the tuple type (repeat each Self),
we can fulfill the pack shape and type metadata for Pack{repeat each Self}
from tuple metadata.

The length is trivially projected; the type metadata pack is slightly more
involved, because tuple metadata stores a list of element/offset pairs, so
we must stack allocate a pack and fill it in.
2023-08-24 17:57:10 -04:00
Nate Chandler
4e22193d9e [Test] Require asserts for some experimental-feature tests.
For LazyImmediate and TupleConformances.
2023-08-24 13:46:35 -07:00
Slava Pestov
99d68ba14c IRGen: Some progress toward tuple conformances 2023-08-18 12:12:50 -04:00