mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
8 lines
628 B
Swift
8 lines
628 B
Swift
// {"kind":"typecheck","signature":"swift::InFlightSubstitution::substType(swift::SubstitutableType*, unsigned int)","signatureAssert":"Assertion failed: (!substEltType->is<PackExpansionType>() && \"substituted shape mismatch: expected a scalar component\"), function projectLaneFromPackType"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
typealias a<b, c, d> = () struct e < each b {
|
|
typealias f<each c, d> = (repeat a<each b, each c, d>)struct g < each c {
|
|
typealias h< each d > = (repeat f< repeat each c, each d >
|
|
struct i typealias j< each d > =
|
|
e< i >.g< repeat each b >.h< repeat each d >
|