mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This can only occur when validating mutually recursive existentials in type reference expressions, so it's "safe" to avoid validating member value decls in this case. There are still potential holes in our mechanism for checking for unsupported existentials, but at least this will eliminate another common crasher. (Crash suite scenario 010.) Swift SVN r22035
12 lines
224 B
Swift
12 lines
224 B
Swift
// RUN: %swift %s -parse -verify
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// http://www.openradar.me/18061131
|
|
|
|
protocol a {
|
|
func c(b: b)
|
|
}
|
|
|
|
protocol b {
|
|
func d(a: a)
|
|
}
|