SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible

This commit is contained in:
Gwendal Roué committed 2018-02-25 09:24:23 +01:00
1 parent b0e126f29d
commit b4922f60a2
8 files changed
+63 -26

No files matched your search

@@ -486,6 +486,8 @@ public struct SQLFunctionName : Hashable {
self.sql = sql
}
#if swift(>=4.1)
#else
/// The hash value
///
/// :nodoc:
@@ -499,6 +501,7 @@ public struct SQLFunctionName : Hashable {
public static func == (lhs: SQLFunctionName, rhs: SQLFunctionName) -> Bool {
return lhs.sql == rhs.sql
}
#endif
}
/// [**Experimental**](http://github.com/groue/GRDB.swift#what-are-experimental-features)