mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove 16 concrete init(stringInterpolationSegment:) overloads and replace them with 3 generic overloads, significantly reducing the exponential blow-up from larger string interpolations. Fixes rdar://problem/29389887.
5 lines
369 B
Swift
5 lines
369 B
Swift
// RUN: not %target-swift-frontend -typecheck %s
|
|
|
|
let query = "<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)&<#...#>=\(<#...#>)"
|
|
|