mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The archetype builder is responsible for figuring out what should go into a generic signature anyway, so move the generic signature creation there. This will also allow us to eliminate some code duplication across Sema and AST. Fixes compiler crasher 033. Swift SVN r23030
11 lines
216 B
Swift
11 lines
216 B
Swift
// RUN: %swift %s -emit-ir -o %t
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// rdar://17240924
|
|
|
|
struct d<f : e, g: e where g.h == f.h> {
|
|
}
|
|
|
|
protocol e {
|
|
typealias h
|
|
}
|