mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is bullet (5) of the proposed solution in SE-0112, and the last major piece to be implemented.
12 lines
292 B
Swift
12 lines
292 B
Swift
// Note that for the test to be effective, each of these enums must only have
|
|
// its Equatable or Hashable conformance referenced /once/ in the primary file.
|
|
enum FromOtherFile : Error {
|
|
case A
|
|
}
|
|
enum AlsoFromOtherFile : Error {
|
|
case A
|
|
}
|
|
enum YetAnotherFromOtherFile : Error {
|
|
case A
|
|
}
|