Files
swift-mirror/validation-test/compiler_crashers_2/361c5acf488944d1.swift
Hamish Knight 760959f273 [test] Add assertion messages to crasher test cases
If the crasher hits an assertion failure, include the message in the
header.
2025-08-04 13:00:23 +01:00

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 >