Commit 55be004
committed
Fix a bug with vanishing tuples in parameter binding.
This only happens when binding parameters under an abstraction pattern
and can therefore only currently happen with closures passed to functions
that take variadic generic tuples (that happen to vanish).
This is relatively straightforward using ExpandedTupleInputGenerator,
and it cleans the code up a fair bit.1 parent b517057 commit 55be004
File tree
5 files changed
+276
-203
lines changed- lib/SILGen
- test
- SILGen
- SILOptimizer
5 files changed
+276
-203
lines changed
0 commit comments