mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The signatures have changed here either due to code changes in the repo or due to improvements to the signature detection, update the test cases.
14 lines
372 B
Swift
14 lines
372 B
Swift
// {"kind":"typecheck","signature":"(anonymous namespace)::TypePrinter::printWithParensIfNotSimple(swift::Type)"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a: Collection where Element == b.Element! {
|
|
associatedtype b: Collection
|
|
}
|
|
protocol c {
|
|
associatedtype d: a where d.b: a, d.Element == Self
|
|
}
|
|
func e () {
|
|
func f<e : c>() {
|
|
e.g
|
|
}
|
|
}
|