Can you file an issue? @xedin This looks like matchFunctionTypes() doesn't handle pack expansions correctly:
(considering: repeat each T subtype $T3 @ locator@0x121809180 [Assign@q.swift:7:18 → function argument]
(simplification result:
(failed constraint each T same-shape $T2 @ locator@0x121809258 [Assign@q.swift:7:18 → function argument → pack shape])
(removed constraint: repeat each T subtype $T3 @ locator@0x121809180 [Assign@q.swift:7:18 → function argument])
(failed constraint repeat each T subtype $T3 @ locator@0x121809180 [Assign@q.swift:7:18 → function argument])
)