Skip to content

Commit

Permalink
Fix NSObjectPreferIsEqualRuleTests with Swift 5.2 (realm#3096)
Browse files Browse the repository at this point in the history
This is not valid Swift code and Swift 5.2 changes the SourceKit response: https://bugs.swift.org/browse/SR-12167
  • Loading branch information
marcelofabri authored Feb 10, 2020
1 parent 66848e0 commit 085e8ea
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ internal struct NSObjectPreferIsEqualRuleExamples {
}
}
"""),
// NSObject subclass with non-static ==
Example("""
class AClass: NSObject {
func ==(lhs: AClass, rhs: AClass) -> Bool {
return true
}
}
"""),
// NSObject subclass implementing == with different signature
Example("""
class AClass: NSObject {
Expand Down

0 comments on commit 085e8ea

Please sign in to comment.