ambiguous reference to member '==' #136

Closed
opened 2025-12-29 15:25:18 +01:00 by adam · 2 comments
Owner

Originally created by @tt37 on GitHub (May 23, 2017).

This is a rather strange error, unfortunately I can not give much information on how to reproduce it.

When using import CoreStore in Swift, I get the following, tremendously long list of ambiguous references.

This is on CoreStore version 3.1.1.

somefile.swift:28:18: error: ambiguous reference to member '=='
        if integer1 == 0 && integer2 == 0 {
                 ^~
Swift.==:5:13: note: found this candidate
public func ==(lhs: Int, rhs: Int) -> Bool
            ^
Foundation.Calendar:27:34: note: found this candidate
        infix public static func ==(a: Calendar.Identifier, b: Calendar.Identifier) -> Bool
                                 ^
Foundation.Calendar:52:34: note: found this candidate
        infix public static func ==(a: Calendar.Component, b: Calendar.Component) -> Bool
                                 ^
Foundation.Calendar:420:34: note: found this candidate
        infix public static func ==(a: Calendar.SearchDirection, b: Calendar.SearchDirection) -> Bool
                                 ^
Foundation.Calendar:429:34: note: found this candidate
        infix public static func ==(a: Calendar.RepeatedTimePolicy, b: Calendar.RepeatedTimePolicy) -> Bool
                                 ^
Foundation.Calendar:449:34: note: found this candidate
        infix public static func ==(a: Calendar.MatchingPolicy, b: Calendar.MatchingPolicy) -> Bool
                                 ^
Foundation.Calendar:517:24: note: found this candidate
    public static func ==(lhs: Calendar, rhs: Calendar) -> Bool
                       ^
Foundation.CharacterSet:139:24: note: found this candidate
    public static func ==(lhs: CharacterSet, rhs: CharacterSet) -> Bool
                       ^
Foundation._DataStorage:48:24: note: found this candidate
    public static func ==(lhs: _DataStorage, rhs: _DataStorage) -> Bool
                       ^
Foundation.Data:231:24: note: found this candidate
    public static func ==(d1: Data, d2: Data) -> Bool
                       ^
Foundation.Date:91:24: note: found this candidate
    public static func ==(lhs: Date, rhs: Date) -> Bool
                       ^
Foundation.DateComponents:97:24: note: found this candidate
    public static func ==(lhs: DateComponents, rhs: DateComponents) -> Bool
                       ^
Foundation.DateInterval:56:24: note: found this candidate
    public static func ==(lhs: DateInterval, rhs: DateInterval) -> Bool
                       ^
Foundation.Decimal:3:24: note: found this candidate
    public static func ==(lhs: Decimal, rhs: Decimal) -> Bool
                       ^
Foundation.IndexPath:46:24: note: found this candidate
    public static func ==(lhs: IndexPath, rhs: IndexPath) -> Bool
                       ^
Foundation.IndexSet.Index:2:24: note: found this candidate
    public static func ==(lhs: IndexSet.Index, rhs: IndexSet.Index) -> Bool
                       ^
Foundation.IndexSet.RangeView:2:24: note: found this candidate
    public static func ==(lhs: IndexSet.RangeView, rhs: IndexSet.RangeView) -> Bool
                       ^
Foundation.IndexSet:2:24: note: found this candidate
    public static func ==(lhs: IndexSet, rhs: IndexSet) -> Bool
                       ^
Foundation.Locale:177:24: note: found this candidate
    public static func ==(lhs: Locale, rhs: Locale) -> Bool
                       ^
Foundation.Notification:23:24: note: found this candidate
    public static func ==(lhs: Notification, rhs: Notification) -> Bool
                       ^
Foundation._GenericObjCError:3:30: note: found this candidate
    infix public static func ==(a: _GenericObjCError, b: _GenericObjCError) -> Bool
                             ^
Foundation.String.Encoding:3:24: note: found this candidate
    public static func ==(lhs: String.Encoding, rhs: String.Encoding) -> Bool
                       ^
Foundation.PersonNameComponents:12:24: note: found this candidate
    public static func ==(lhs: PersonNameComponents, rhs: PersonNameComponents) -> Bool
                       ^
Foundation.TimeZone:83:24: note: found this candidate
    public static func ==(lhs: TimeZone, rhs: TimeZone) -> Bool
                       ^
Foundation.URL:264:24: note: found this candidate
    public static func ==(lhs: URL, rhs: URL) -> Bool
                       ^
Foundation.URLComponents:137:24: note: found this candidate
    public static func ==(lhs: URLComponents, rhs: URLComponents) -> Bool
                       ^
Foundation.URLQueryItem:8:24: note: found this candidate
    public static func ==(lhs: URLQueryItem, rhs: URLQueryItem) -> Bool
                       ^
Foundation.URLRequest:77:24: note: found this candidate
    public static func ==(lhs: URLRequest, rhs: URLRequest) -> Bool
                       ^
Foundation.UUID:17:24: note: found this candidate
    public static func ==(lhs: UUID, rhs: UUID) -> Bool
                       ^
Darwin.==:1:13: note: found this candidate
public func ==(lhs: DarwinBoolean, rhs: DarwinBoolean) -> Bool
            ^
Dispatch.==:1:13: note: found this candidate
public func ==(a: DispatchQoS, b: DispatchQoS) -> Bool
            ^
Dispatch.==:1:13: note: found this candidate
public func ==(a: DispatchTime, b: DispatchTime) -> Bool
            ^
Dispatch.==:1:13: note: found this candidate
public func ==(a: DispatchWallTime, b: DispatchWallTime) -> Bool
            ^
Dispatch.DispatchQoS:20:34: note: found this candidate
        infix public static func ==(a: DispatchQoS.QoSClass, b: DispatchQoS.QoSClass) -> Bool
                                 ^
Dispatch.DispatchTimeoutResult:5:30: note: found this candidate
    infix public static func ==(a: DispatchTimeoutResult, b: DispatchTimeoutResult) -> Bool
                             ^
Dispatch.DispatchQueue:31:34: note: found this candidate
        infix public static func ==(a: DispatchQueue.GlobalQueuePriority, b: DispatchQueue.GlobalQueuePriority) -> Bool
                                 ^
Dispatch.DispatchQueue:38:34: note: found this candidate
        infix public static func ==(a: DispatchQueue.AutoreleaseFrequency, b: DispatchQueue.AutoreleaseFrequency) -> Bool
                                 ^
ObjectiveC.==:1:13: note: found this candidate
public func ==(lhs: Selector, rhs: Selector) -> Bool
            ^
ObjectiveC.==:1:13: note: found this candidate
public func ==(lhs: NSObject, rhs: NSObject) -> Bool
            ^
CoreMedia.==:1:13: note: found this candidate
public func ==(time1: CMTime, time2: CMTime) -> Bool
            ^
CoreMedia.==:1:13: note: found this candidate
public func ==(range1: CMTimeRange, range2: CMTimeRange) -> Bool
            ^
CoreGraphics.==:1:13: note: found this candidate
public func ==(lhs: CGAffineTransform, rhs: CGAffineTransform) -> Bool
            ^
CoreGraphics.==:1:13: note: found this candidate
public func ==(lhs: CGColor, rhs: CGColor) -> Bool
            ^
CoreGraphics.==:1:13: note: found this candidate
public func ==(lhs: CGPoint, rhs: CGPoint) -> Bool
            ^
CoreGraphics.==:1:13: note: found this candidate
public func ==(lhs: CGSize, rhs: CGSize) -> Bool
            ^
CoreGraphics.==:1:13: note: found this candidate
public func ==(lhs: CGVector, rhs: CGVector) -> Bool
            ^
CoreGraphics.==:1:13: note: found this candidate
public func ==(lhs: CGRect, rhs: CGRect) -> Bool
            ^
CoreGraphics.==:1:13: note: found this candidate
public func ==(lhs: CGPath, rhs: CGPath) -> Bool
            ^
UIKit.==:1:13: note: found this candidate
public func ==(lhs: UIEdgeInsets, rhs: UIEdgeInsets) -> Bool
            ^
UIKit.==:1:13: note: found this candidate
public func ==(lhs: UIOffset, rhs: UIOffset) -> Bool
            ^
Swift.==:3:13: note: found this candidate
public func ==(t0: Any.Type?, t1: Any.Type?) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: UInt8, rhs: UInt8) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: Int8, rhs: Int8) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: UInt16, rhs: UInt16) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: Int16, rhs: Int16) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: UInt32, rhs: UInt32) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: Int32, rhs: Int32) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: UInt64, rhs: UInt64) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: Int64, rhs: Int64) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: UInt, rhs: UInt) -> Bool
            ^
Swift.==:5:13: note: found this candidate
public func ==(lhs: Int, rhs: Int) -> Bool
            ^
Swift.Bool:11:24: note: found this candidate
    public static func ==(lhs: Bool, rhs: Bool) -> Bool
                       ^
Swift.Character:2:24: note: found this candidate
    public static func ==(lhs: Character, rhs: Character) -> Bool
                       ^
Swift.OpaquePointer:2:24: note: found this candidate
    public static func ==(lhs: OpaquePointer, rhs: OpaquePointer) -> Bool
                       ^
Swift.FloatingPointClassification:36:30: note: found this candidate
    infix public static func ==(a: FloatingPointClassification, b: FloatingPointClassification) -> Bool
                             ^
Swift.FloatingPointRoundingRule:121:30: note: found this candidate
    infix public static func ==(a: FloatingPointRoundingRule, b: FloatingPointRoundingRule) -> Bool
                             ^
Swift.AnyHashable:27:24: note: found this candidate
    public static func ==(lhs: AnyHashable, rhs: AnyHashable) -> Bool
                       ^
Swift.ObjectIdentifier:3:24: note: found this candidate
    public static func ==(x: ObjectIdentifier, y: ObjectIdentifier) -> Bool
                       ^
Swift._MirrorDisposition:25:30: note: found this candidate
    infix public static func ==(a: _MirrorDisposition, b: _MirrorDisposition) -> Bool
                             ^
Swift.String:2:24: note: found this candidate
    public static func ==(lhs: String, rhs: String) -> Bool
                       ^
Swift.String.CharacterView.Index:2:24: note: found this candidate
    public static func ==(lhs: String.Index, rhs: String.Index) -> Bool
                       ^
Swift.String.UnicodeScalarView.Index:2:24: note: found this candidate
    public static func ==(lhs: String.UnicodeScalarView.Index, rhs: String.UnicodeScalarView.Index) -> Bool
                       ^
Swift.String.UTF16View.Index:2:24: note: found this candidate
    public static func ==(lhs: String.UTF16View.Index, rhs: String.UTF16View.Index) -> Bool
                       ^
Swift.String.UTF8View.Index:2:24: note: found this candidate
    public static func ==(lhs: String.UTF8View.Index, rhs: String.UTF8View.Index) -> Bool
                       ^
Swift.UnicodeDecodingResult:15:24: note: found this candidate
    public static func ==(lhs: UnicodeDecodingResult, rhs: UnicodeDecodingResult) -> Bool
                       ^
Swift.UnicodeScalar:2:24: note: found this candidate
    public static func ==(lhs: UnicodeScalar, rhs: UnicodeScalar) -> Bool
                       ^
Swift.UnsafeMutableRawPointer:9:24: note: found this candidate
    public static func ==(lhs: UnsafeMutableRawPointer, rhs: UnsafeMutableRawPointer) -> Bool
                       ^
Swift.UnsafeRawPointer:9:24: note: found this candidate
    public static func ==(lhs: UnsafeRawPointer, rhs: UnsafeRawPointer) -> Bool
                       ^
Swift._SwiftNSOperatingSystemVersion:2:24: note: found this candidate
    public static func ==(lhs: _SwiftNSOperatingSystemVersion, rhs: _SwiftNSOperatingSystemVersion) -> Bool
                       ^
Swift.AnyIndex:10:24: note: found this candidate
    public static func ==(lhs: AnyIndex, rhs: AnyIndex) -> Bool
                       ^
Swift.Mirror:95:34: note: found this candidate
        infix public static func ==(a: Mirror.DisplayStyle, b: Mirror.DisplayStyle) -> Bool
                                 ^
CoreStore.CoreStoreError:28:24: note: found this candidate
    public static func ==(lhs: CoreStore.CoreStoreError, rhs: CoreStore.CoreStoreError) -> Bool
                       ^
CoreStore.LogLevel:9:30: note: found this candidate
    infix public static func ==(a: CoreStore.LogLevel, b: CoreStore.LogLevel) -> Bool
                             ^
CoreStore.DataStack:112:24: note: found this candidate
    public static func ==(lhs: CoreStore.DataStack, rhs: CoreStore.DataStack) -> Bool
                       ^
CoreStore.GroupBy:27:24: note: found this candidate
    public static func ==(lhs: CoreStore.GroupBy, rhs: CoreStore.GroupBy) -> Bool
                       ^
CoreStore.MigrationChain:59:24: note: found this candidate
    public static func ==(lhs: CoreStore.MigrationChain, rhs: CoreStore.MigrationChain) -> Bool
                       ^
CoreStore.MigrationResult:43:24: note: found this candidate
    public static func ==(lhs: CoreStore.MigrationResult, rhs: CoreStore.MigrationResult) -> Bool
                       ^
CoreStore.MigrationType:37:24: note: found this candidate
    public static func ==(lhs: CoreStore.MigrationType, rhs: CoreStore.MigrationType) -> Bool
                       ^
CoreStore.OrderBy:47:24: note: found this candidate
    public static func ==(lhs: CoreStore.OrderBy, rhs: CoreStore.OrderBy) -> Bool
                       ^
CoreStore.SaveResult:43:24: note: found this candidate
    public static func ==(lhs: CoreStore.SaveResult, rhs: CoreStore.SaveResult) -> Bool
                       ^
CoreStore.SelectTerm:108:24: note: found this candidate
    public static func ==(lhs: CoreStore.SelectTerm, rhs: CoreStore.SelectTerm) -> Bool
                       ^
CoreStore.Where:73:24: note: found this candidate
    public static func ==(lhs: CoreStore.Where, rhs: CoreStore.Where) -> Bool
                       ^
Foundation.__BridgedNSError:2:24: note: found this candidate
    public static func ==(lhs: Self, rhs: Self) -> Bool
                       ^
Foundation.__BridgedNSError:2:24: note: found this candidate
    public static func ==(lhs: Self, rhs: Self) -> Bool
                       ^
Foundation._BridgedStoredNSError:4:24: note: found this candidate
    public static func ==(lhs: Self, rhs: Self) -> Bool
                       ^
Swift.==:2:13: note: found this candidate
public func ==<Element>(lhs: ContiguousArray<Element>, rhs: ContiguousArray<Element>) -> Bool where Element : Equatable
            ^
Swift.==:2:13: note: found this candidate
public func ==<Element>(lhs: ArraySlice<Element>, rhs: ArraySlice<Element>) -> Bool where Element : Equatable
            ^
Swift.==:2:13: note: found this candidate
public func ==<Element>(lhs: [Element], rhs: [Element]) -> Bool where Element : Equatable
            ^
Swift.==:1:13: note: found this candidate
public func ==<Pointee>(lhs: AutoreleasingUnsafeMutablePointer<Pointee>, rhs: AutoreleasingUnsafeMutablePointer<Pointee>) -> Bool
            ^
Swift.==:6:13: note: found this candidate
public func ==<T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
            ^
Swift.==:1:13: note: found this candidate
public func ==<Base>(lhs: LazyDropWhileIndex<Base>, rhs: LazyDropWhileIndex<Base>) -> Bool where Base : Collection
            ^
Swift.==:1:13: note: found this candidate
public func ==<T>(lhs: T, rhs: T) -> Bool where T : FloatingPoint
            ^
Swift.==:1:13: note: found this candidate
public func ==<Value, Element>(lhs: _HeapBuffer<Value, Element>, rhs: _HeapBuffer<Value, Element>) -> Bool
            ^
Swift.==:1:13: note: found this candidate
public func ==<Header, Element>(lhs: ManagedBufferPointer<Header, Element>, rhs: ManagedBufferPointer<Header, Element>) -> Bool
            ^
Swift.==:45:13: note: found this candidate
public func ==<T>(lhs: T?, rhs: T?) -> Bool where T : Equatable
            ^
Swift.==:22:13: note: found this candidate
public func ==<T>(lhs: T?, rhs: _OptionalNilComparisonType) -> Bool
            ^
Swift.==:22:13: note: found this candidate
public func ==<T>(lhs: _OptionalNilComparisonType, rhs: T?) -> Bool
            ^
Swift.==:1:13: note: found this candidate
public func ==<Base>(lhs: LazyPrefixWhileIndex<Base>, rhs: LazyPrefixWhileIndex<Base>) -> Bool where Base : Collection
            ^
Swift.==:1:13: note: found this candidate
public func ==<T>(x: T, y: T) -> Bool where T : Strideable
            ^
Swift.==:20:13: note: found this candidate
public func ==<A, B>(lhs: (A, B), rhs: (A, B)) -> Bool where A : Equatable, B : Equatable
            ^
Swift.==:20:13: note: found this candidate
public func ==<A, B, C>(lhs: (A, B, C), rhs: (A, B, C)) -> Bool where A : Equatable, B : Equatable, C : Equatable
            ^
Swift.==:20:13: note: found this candidate
public func ==<A, B, C, D>(lhs: (A, B, C, D), rhs: (A, B, C, D)) -> Bool where A : Equatable, B : Equatable, C : Equatable, D : Equatable
            ^
Swift.==:20:13: note: found this candidate
public func ==<A, B, C, D, E>(lhs: (A, B, C, D, E), rhs: (A, B, C, D, E)) -> Bool where A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable
            ^
Swift.==:20:13: note: found this candidate
public func ==<A, B, C, D, E, F>(lhs: (A, B, C, D, E, F), rhs: (A, B, C, D, E, F)) -> Bool where A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable, F : Equatable
            ^
Swift.ClosedRangeIndex<Bound>:2:24: note: found this candidate
    public static func ==(lhs: ClosedRangeIndex<Bound>, rhs: ClosedRangeIndex<Bound>) -> Bool
                       ^
Swift.EmptyCollection<Element>:2:24: note: found this candidate
    public static func ==(lhs: EmptyCollection<Element>, rhs: EmptyCollection<Element>) -> Bool
                       ^
Swift.Equatable:149:24: note: found this candidate
    public static func ==(lhs: Self, rhs: Self) -> Bool
                       ^
Swift.LazyFilterIndex<Base>:2:24: note: found this candidate
    public static func ==(lhs: LazyFilterIndex<Base>, rhs: LazyFilterIndex<Base>) -> Bool
                       ^
Swift.FlattenCollectionIndex<BaseElements>:2:24: note: found this candidate
    public static func ==(lhs: FlattenCollectionIndex<BaseElements>, rhs: FlattenCollectionIndex<BaseElements>) -> Bool
                       ^
Swift.FlattenBidirectionalCollectionIndex<BaseElements>:2:24: note: found this candidate
    public static func ==(lhs: FlattenBidirectionalCollectionIndex<BaseElements>, rhs: FlattenBidirectionalCollectionIndex<BaseElements>) -> Bool
                       ^
Swift.Set<Element>:9:24: note: found this candidate
    public static func ==(lhs: Set<Element>, rhs: Set<Element>) -> Bool
                       ^
Swift.Dictionary<Key, Value>:2:24: note: found this candidate
    public static func ==(lhs: [Key : Value], rhs: [Key : Value]) -> Bool
                       ^
Swift.Set<Element>.Index:2:24: note: found this candidate
    public static func ==(lhs: Set<Element>.Index, rhs: Set<Element>.Index) -> Bool
                       ^
Swift.Dictionary<Key, Value>.Index:2:24: note: found this candidate
    public static func ==(lhs: [Key : Value].Index, rhs: [Key : Value].Index) -> Bool
                       ^
Swift.Range<Bound>:18:24: note: found this candidate
    public static func ==(lhs: Range<Bound>, rhs: Range<Bound>) -> Bool
                       ^
Swift.CountableRange<Bound>:18:24: note: found this candidate
    public static func ==(lhs: CountableRange<Bound>, rhs: CountableRange<Bound>) -> Bool
                       ^
Swift.ClosedRange<Bound>:15:24: note: found this candidate
    public static func ==(lhs: ClosedRange<Bound>, rhs: ClosedRange<Bound>) -> Bool
                       ^
Swift.CountableClosedRange<Bound>:15:24: note: found this candidate
    public static func ==(lhs: CountableClosedRange<Bound>, rhs: CountableClosedRange<Bound>) -> Bool
                       ^
Swift.ReversedIndex:7:24: note: found this candidate
    public static func ==(lhs: ReversedIndex<Base>, rhs: ReversedIndex<Base>) -> Bool
                       ^
Swift.ReversedRandomAccessIndex:7:24: note: found this candidate
    public static func ==(lhs: ReversedRandomAccessIndex<Base>, rhs: ReversedRandomAccessIndex<Base>) -> Bool
                       ^
Swift.UnsafeMutablePointer<Pointee>:9:24: note: found this candidate
    public static func ==(lhs: UnsafeMutablePointer<Pointee>, rhs: UnsafeMutablePointer<Pointee>) -> Bool
                       ^
Swift.UnsafePointer<Pointee>:9:24: note: found this candidate
    public static func ==(lhs: UnsafePointer<Pointee>, rhs: UnsafePointer<Pointee>) -> Bool
                       ^
Foundation.Measurement<UnitType>:26:24: note: found this candidate
    public static func ==<LeftHandSideType, RightHandSideType>(lhs: Measurement<LeftHandSideType>, rhs: Measurement<RightHandSideType>) -> Bool where LeftHandSideType : Unit, RightHandSideType : Unit
                       ^
CoreStore.Into:70:24: note: found this candidate
    public static func ==<T, U>(lhs: CoreStore.Into<T>, rhs: CoreStore.Into<U>) -> Bool where T : NSManagedObject, U : NSManagedObject
                       ^
CoreStore.ListMonitor:260:24: note: found this candidate
    public static func ==<T>(lhs: CoreStore.ListMonitor<T>, rhs: CoreStore.ListMonitor<T>) -> Bool where T : NSManagedObject
                       ^
CoreStore.ListMonitor:261:24: note: found this candidate
    public static func ==<T, U>(lhs: CoreStore.ListMonitor<T>, rhs: CoreStore.ListMonitor<U>) -> Bool where T : NSManagedObject, U : NSManagedObject
                       ^
CoreStore.ObjectMonitor:40:24: note: found this candidate
    public static func ==<T>(lhs: CoreStore.ObjectMonitor<T>, rhs: CoreStore.ObjectMonitor<T>) -> Bool where T : NSManagedObject
                       ^
CoreStore.ObjectMonitor:41:24: note: found this candidate
    public static func ==<T, U>(lhs: CoreStore.ObjectMonitor<T>, rhs: CoreStore.ObjectMonitor<U>) -> Bool where T : NSManagedObject, U : NSManagedObject
                       ^
CoreStore.Select:60:24: note: found this candidate
    public static func ==<T, U>(lhs: CoreStore.Select<T>, rhs: CoreStore.Select<U>) -> Bool where T : SelectResultType, U : SelectResultType
                       ^
CoreStore.SetupResult:45:24: note: found this candidate
    public static func ==<T, U>(lhs: CoreStore.SetupResult<T>, rhs: CoreStore.SetupResult<U>) -> Bool where T : StorageInterface, U : StorageInterface
Originally created by @tt37 on GitHub (May 23, 2017). This is a rather strange error, unfortunately I can not give much information on how to reproduce it. When using `import CoreStore` in Swift, I get the following, tremendously long list of ambiguous references. This is on CoreStore version 3.1.1. ``` somefile.swift:28:18: error: ambiguous reference to member '==' if integer1 == 0 && integer2 == 0 { ^~ Swift.==:5:13: note: found this candidate public func ==(lhs: Int, rhs: Int) -> Bool ^ Foundation.Calendar:27:34: note: found this candidate infix public static func ==(a: Calendar.Identifier, b: Calendar.Identifier) -> Bool ^ Foundation.Calendar:52:34: note: found this candidate infix public static func ==(a: Calendar.Component, b: Calendar.Component) -> Bool ^ Foundation.Calendar:420:34: note: found this candidate infix public static func ==(a: Calendar.SearchDirection, b: Calendar.SearchDirection) -> Bool ^ Foundation.Calendar:429:34: note: found this candidate infix public static func ==(a: Calendar.RepeatedTimePolicy, b: Calendar.RepeatedTimePolicy) -> Bool ^ Foundation.Calendar:449:34: note: found this candidate infix public static func ==(a: Calendar.MatchingPolicy, b: Calendar.MatchingPolicy) -> Bool ^ Foundation.Calendar:517:24: note: found this candidate public static func ==(lhs: Calendar, rhs: Calendar) -> Bool ^ Foundation.CharacterSet:139:24: note: found this candidate public static func ==(lhs: CharacterSet, rhs: CharacterSet) -> Bool ^ Foundation._DataStorage:48:24: note: found this candidate public static func ==(lhs: _DataStorage, rhs: _DataStorage) -> Bool ^ Foundation.Data:231:24: note: found this candidate public static func ==(d1: Data, d2: Data) -> Bool ^ Foundation.Date:91:24: note: found this candidate public static func ==(lhs: Date, rhs: Date) -> Bool ^ Foundation.DateComponents:97:24: note: found this candidate public static func ==(lhs: DateComponents, rhs: DateComponents) -> Bool ^ Foundation.DateInterval:56:24: note: found this candidate public static func ==(lhs: DateInterval, rhs: DateInterval) -> Bool ^ Foundation.Decimal:3:24: note: found this candidate public static func ==(lhs: Decimal, rhs: Decimal) -> Bool ^ Foundation.IndexPath:46:24: note: found this candidate public static func ==(lhs: IndexPath, rhs: IndexPath) -> Bool ^ Foundation.IndexSet.Index:2:24: note: found this candidate public static func ==(lhs: IndexSet.Index, rhs: IndexSet.Index) -> Bool ^ Foundation.IndexSet.RangeView:2:24: note: found this candidate public static func ==(lhs: IndexSet.RangeView, rhs: IndexSet.RangeView) -> Bool ^ Foundation.IndexSet:2:24: note: found this candidate public static func ==(lhs: IndexSet, rhs: IndexSet) -> Bool ^ Foundation.Locale:177:24: note: found this candidate public static func ==(lhs: Locale, rhs: Locale) -> Bool ^ Foundation.Notification:23:24: note: found this candidate public static func ==(lhs: Notification, rhs: Notification) -> Bool ^ Foundation._GenericObjCError:3:30: note: found this candidate infix public static func ==(a: _GenericObjCError, b: _GenericObjCError) -> Bool ^ Foundation.String.Encoding:3:24: note: found this candidate public static func ==(lhs: String.Encoding, rhs: String.Encoding) -> Bool ^ Foundation.PersonNameComponents:12:24: note: found this candidate public static func ==(lhs: PersonNameComponents, rhs: PersonNameComponents) -> Bool ^ Foundation.TimeZone:83:24: note: found this candidate public static func ==(lhs: TimeZone, rhs: TimeZone) -> Bool ^ Foundation.URL:264:24: note: found this candidate public static func ==(lhs: URL, rhs: URL) -> Bool ^ Foundation.URLComponents:137:24: note: found this candidate public static func ==(lhs: URLComponents, rhs: URLComponents) -> Bool ^ Foundation.URLQueryItem:8:24: note: found this candidate public static func ==(lhs: URLQueryItem, rhs: URLQueryItem) -> Bool ^ Foundation.URLRequest:77:24: note: found this candidate public static func ==(lhs: URLRequest, rhs: URLRequest) -> Bool ^ Foundation.UUID:17:24: note: found this candidate public static func ==(lhs: UUID, rhs: UUID) -> Bool ^ Darwin.==:1:13: note: found this candidate public func ==(lhs: DarwinBoolean, rhs: DarwinBoolean) -> Bool ^ Dispatch.==:1:13: note: found this candidate public func ==(a: DispatchQoS, b: DispatchQoS) -> Bool ^ Dispatch.==:1:13: note: found this candidate public func ==(a: DispatchTime, b: DispatchTime) -> Bool ^ Dispatch.==:1:13: note: found this candidate public func ==(a: DispatchWallTime, b: DispatchWallTime) -> Bool ^ Dispatch.DispatchQoS:20:34: note: found this candidate infix public static func ==(a: DispatchQoS.QoSClass, b: DispatchQoS.QoSClass) -> Bool ^ Dispatch.DispatchTimeoutResult:5:30: note: found this candidate infix public static func ==(a: DispatchTimeoutResult, b: DispatchTimeoutResult) -> Bool ^ Dispatch.DispatchQueue:31:34: note: found this candidate infix public static func ==(a: DispatchQueue.GlobalQueuePriority, b: DispatchQueue.GlobalQueuePriority) -> Bool ^ Dispatch.DispatchQueue:38:34: note: found this candidate infix public static func ==(a: DispatchQueue.AutoreleaseFrequency, b: DispatchQueue.AutoreleaseFrequency) -> Bool ^ ObjectiveC.==:1:13: note: found this candidate public func ==(lhs: Selector, rhs: Selector) -> Bool ^ ObjectiveC.==:1:13: note: found this candidate public func ==(lhs: NSObject, rhs: NSObject) -> Bool ^ CoreMedia.==:1:13: note: found this candidate public func ==(time1: CMTime, time2: CMTime) -> Bool ^ CoreMedia.==:1:13: note: found this candidate public func ==(range1: CMTimeRange, range2: CMTimeRange) -> Bool ^ CoreGraphics.==:1:13: note: found this candidate public func ==(lhs: CGAffineTransform, rhs: CGAffineTransform) -> Bool ^ CoreGraphics.==:1:13: note: found this candidate public func ==(lhs: CGColor, rhs: CGColor) -> Bool ^ CoreGraphics.==:1:13: note: found this candidate public func ==(lhs: CGPoint, rhs: CGPoint) -> Bool ^ CoreGraphics.==:1:13: note: found this candidate public func ==(lhs: CGSize, rhs: CGSize) -> Bool ^ CoreGraphics.==:1:13: note: found this candidate public func ==(lhs: CGVector, rhs: CGVector) -> Bool ^ CoreGraphics.==:1:13: note: found this candidate public func ==(lhs: CGRect, rhs: CGRect) -> Bool ^ CoreGraphics.==:1:13: note: found this candidate public func ==(lhs: CGPath, rhs: CGPath) -> Bool ^ UIKit.==:1:13: note: found this candidate public func ==(lhs: UIEdgeInsets, rhs: UIEdgeInsets) -> Bool ^ UIKit.==:1:13: note: found this candidate public func ==(lhs: UIOffset, rhs: UIOffset) -> Bool ^ Swift.==:3:13: note: found this candidate public func ==(t0: Any.Type?, t1: Any.Type?) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: UInt8, rhs: UInt8) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: Int8, rhs: Int8) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: UInt16, rhs: UInt16) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: Int16, rhs: Int16) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: UInt32, rhs: UInt32) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: Int32, rhs: Int32) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: UInt64, rhs: UInt64) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: Int64, rhs: Int64) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: UInt, rhs: UInt) -> Bool ^ Swift.==:5:13: note: found this candidate public func ==(lhs: Int, rhs: Int) -> Bool ^ Swift.Bool:11:24: note: found this candidate public static func ==(lhs: Bool, rhs: Bool) -> Bool ^ Swift.Character:2:24: note: found this candidate public static func ==(lhs: Character, rhs: Character) -> Bool ^ Swift.OpaquePointer:2:24: note: found this candidate public static func ==(lhs: OpaquePointer, rhs: OpaquePointer) -> Bool ^ Swift.FloatingPointClassification:36:30: note: found this candidate infix public static func ==(a: FloatingPointClassification, b: FloatingPointClassification) -> Bool ^ Swift.FloatingPointRoundingRule:121:30: note: found this candidate infix public static func ==(a: FloatingPointRoundingRule, b: FloatingPointRoundingRule) -> Bool ^ Swift.AnyHashable:27:24: note: found this candidate public static func ==(lhs: AnyHashable, rhs: AnyHashable) -> Bool ^ Swift.ObjectIdentifier:3:24: note: found this candidate public static func ==(x: ObjectIdentifier, y: ObjectIdentifier) -> Bool ^ Swift._MirrorDisposition:25:30: note: found this candidate infix public static func ==(a: _MirrorDisposition, b: _MirrorDisposition) -> Bool ^ Swift.String:2:24: note: found this candidate public static func ==(lhs: String, rhs: String) -> Bool ^ Swift.String.CharacterView.Index:2:24: note: found this candidate public static func ==(lhs: String.Index, rhs: String.Index) -> Bool ^ Swift.String.UnicodeScalarView.Index:2:24: note: found this candidate public static func ==(lhs: String.UnicodeScalarView.Index, rhs: String.UnicodeScalarView.Index) -> Bool ^ Swift.String.UTF16View.Index:2:24: note: found this candidate public static func ==(lhs: String.UTF16View.Index, rhs: String.UTF16View.Index) -> Bool ^ Swift.String.UTF8View.Index:2:24: note: found this candidate public static func ==(lhs: String.UTF8View.Index, rhs: String.UTF8View.Index) -> Bool ^ Swift.UnicodeDecodingResult:15:24: note: found this candidate public static func ==(lhs: UnicodeDecodingResult, rhs: UnicodeDecodingResult) -> Bool ^ Swift.UnicodeScalar:2:24: note: found this candidate public static func ==(lhs: UnicodeScalar, rhs: UnicodeScalar) -> Bool ^ Swift.UnsafeMutableRawPointer:9:24: note: found this candidate public static func ==(lhs: UnsafeMutableRawPointer, rhs: UnsafeMutableRawPointer) -> Bool ^ Swift.UnsafeRawPointer:9:24: note: found this candidate public static func ==(lhs: UnsafeRawPointer, rhs: UnsafeRawPointer) -> Bool ^ Swift._SwiftNSOperatingSystemVersion:2:24: note: found this candidate public static func ==(lhs: _SwiftNSOperatingSystemVersion, rhs: _SwiftNSOperatingSystemVersion) -> Bool ^ Swift.AnyIndex:10:24: note: found this candidate public static func ==(lhs: AnyIndex, rhs: AnyIndex) -> Bool ^ Swift.Mirror:95:34: note: found this candidate infix public static func ==(a: Mirror.DisplayStyle, b: Mirror.DisplayStyle) -> Bool ^ CoreStore.CoreStoreError:28:24: note: found this candidate public static func ==(lhs: CoreStore.CoreStoreError, rhs: CoreStore.CoreStoreError) -> Bool ^ CoreStore.LogLevel:9:30: note: found this candidate infix public static func ==(a: CoreStore.LogLevel, b: CoreStore.LogLevel) -> Bool ^ CoreStore.DataStack:112:24: note: found this candidate public static func ==(lhs: CoreStore.DataStack, rhs: CoreStore.DataStack) -> Bool ^ CoreStore.GroupBy:27:24: note: found this candidate public static func ==(lhs: CoreStore.GroupBy, rhs: CoreStore.GroupBy) -> Bool ^ CoreStore.MigrationChain:59:24: note: found this candidate public static func ==(lhs: CoreStore.MigrationChain, rhs: CoreStore.MigrationChain) -> Bool ^ CoreStore.MigrationResult:43:24: note: found this candidate public static func ==(lhs: CoreStore.MigrationResult, rhs: CoreStore.MigrationResult) -> Bool ^ CoreStore.MigrationType:37:24: note: found this candidate public static func ==(lhs: CoreStore.MigrationType, rhs: CoreStore.MigrationType) -> Bool ^ CoreStore.OrderBy:47:24: note: found this candidate public static func ==(lhs: CoreStore.OrderBy, rhs: CoreStore.OrderBy) -> Bool ^ CoreStore.SaveResult:43:24: note: found this candidate public static func ==(lhs: CoreStore.SaveResult, rhs: CoreStore.SaveResult) -> Bool ^ CoreStore.SelectTerm:108:24: note: found this candidate public static func ==(lhs: CoreStore.SelectTerm, rhs: CoreStore.SelectTerm) -> Bool ^ CoreStore.Where:73:24: note: found this candidate public static func ==(lhs: CoreStore.Where, rhs: CoreStore.Where) -> Bool ^ Foundation.__BridgedNSError:2:24: note: found this candidate public static func ==(lhs: Self, rhs: Self) -> Bool ^ Foundation.__BridgedNSError:2:24: note: found this candidate public static func ==(lhs: Self, rhs: Self) -> Bool ^ Foundation._BridgedStoredNSError:4:24: note: found this candidate public static func ==(lhs: Self, rhs: Self) -> Bool ^ Swift.==:2:13: note: found this candidate public func ==<Element>(lhs: ContiguousArray<Element>, rhs: ContiguousArray<Element>) -> Bool where Element : Equatable ^ Swift.==:2:13: note: found this candidate public func ==<Element>(lhs: ArraySlice<Element>, rhs: ArraySlice<Element>) -> Bool where Element : Equatable ^ Swift.==:2:13: note: found this candidate public func ==<Element>(lhs: [Element], rhs: [Element]) -> Bool where Element : Equatable ^ Swift.==:1:13: note: found this candidate public func ==<Pointee>(lhs: AutoreleasingUnsafeMutablePointer<Pointee>, rhs: AutoreleasingUnsafeMutablePointer<Pointee>) -> Bool ^ Swift.==:6:13: note: found this candidate public func ==<T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable ^ Swift.==:1:13: note: found this candidate public func ==<Base>(lhs: LazyDropWhileIndex<Base>, rhs: LazyDropWhileIndex<Base>) -> Bool where Base : Collection ^ Swift.==:1:13: note: found this candidate public func ==<T>(lhs: T, rhs: T) -> Bool where T : FloatingPoint ^ Swift.==:1:13: note: found this candidate public func ==<Value, Element>(lhs: _HeapBuffer<Value, Element>, rhs: _HeapBuffer<Value, Element>) -> Bool ^ Swift.==:1:13: note: found this candidate public func ==<Header, Element>(lhs: ManagedBufferPointer<Header, Element>, rhs: ManagedBufferPointer<Header, Element>) -> Bool ^ Swift.==:45:13: note: found this candidate public func ==<T>(lhs: T?, rhs: T?) -> Bool where T : Equatable ^ Swift.==:22:13: note: found this candidate public func ==<T>(lhs: T?, rhs: _OptionalNilComparisonType) -> Bool ^ Swift.==:22:13: note: found this candidate public func ==<T>(lhs: _OptionalNilComparisonType, rhs: T?) -> Bool ^ Swift.==:1:13: note: found this candidate public func ==<Base>(lhs: LazyPrefixWhileIndex<Base>, rhs: LazyPrefixWhileIndex<Base>) -> Bool where Base : Collection ^ Swift.==:1:13: note: found this candidate public func ==<T>(x: T, y: T) -> Bool where T : Strideable ^ Swift.==:20:13: note: found this candidate public func ==<A, B>(lhs: (A, B), rhs: (A, B)) -> Bool where A : Equatable, B : Equatable ^ Swift.==:20:13: note: found this candidate public func ==<A, B, C>(lhs: (A, B, C), rhs: (A, B, C)) -> Bool where A : Equatable, B : Equatable, C : Equatable ^ Swift.==:20:13: note: found this candidate public func ==<A, B, C, D>(lhs: (A, B, C, D), rhs: (A, B, C, D)) -> Bool where A : Equatable, B : Equatable, C : Equatable, D : Equatable ^ Swift.==:20:13: note: found this candidate public func ==<A, B, C, D, E>(lhs: (A, B, C, D, E), rhs: (A, B, C, D, E)) -> Bool where A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable ^ Swift.==:20:13: note: found this candidate public func ==<A, B, C, D, E, F>(lhs: (A, B, C, D, E, F), rhs: (A, B, C, D, E, F)) -> Bool where A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable, F : Equatable ^ Swift.ClosedRangeIndex<Bound>:2:24: note: found this candidate public static func ==(lhs: ClosedRangeIndex<Bound>, rhs: ClosedRangeIndex<Bound>) -> Bool ^ Swift.EmptyCollection<Element>:2:24: note: found this candidate public static func ==(lhs: EmptyCollection<Element>, rhs: EmptyCollection<Element>) -> Bool ^ Swift.Equatable:149:24: note: found this candidate public static func ==(lhs: Self, rhs: Self) -> Bool ^ Swift.LazyFilterIndex<Base>:2:24: note: found this candidate public static func ==(lhs: LazyFilterIndex<Base>, rhs: LazyFilterIndex<Base>) -> Bool ^ Swift.FlattenCollectionIndex<BaseElements>:2:24: note: found this candidate public static func ==(lhs: FlattenCollectionIndex<BaseElements>, rhs: FlattenCollectionIndex<BaseElements>) -> Bool ^ Swift.FlattenBidirectionalCollectionIndex<BaseElements>:2:24: note: found this candidate public static func ==(lhs: FlattenBidirectionalCollectionIndex<BaseElements>, rhs: FlattenBidirectionalCollectionIndex<BaseElements>) -> Bool ^ Swift.Set<Element>:9:24: note: found this candidate public static func ==(lhs: Set<Element>, rhs: Set<Element>) -> Bool ^ Swift.Dictionary<Key, Value>:2:24: note: found this candidate public static func ==(lhs: [Key : Value], rhs: [Key : Value]) -> Bool ^ Swift.Set<Element>.Index:2:24: note: found this candidate public static func ==(lhs: Set<Element>.Index, rhs: Set<Element>.Index) -> Bool ^ Swift.Dictionary<Key, Value>.Index:2:24: note: found this candidate public static func ==(lhs: [Key : Value].Index, rhs: [Key : Value].Index) -> Bool ^ Swift.Range<Bound>:18:24: note: found this candidate public static func ==(lhs: Range<Bound>, rhs: Range<Bound>) -> Bool ^ Swift.CountableRange<Bound>:18:24: note: found this candidate public static func ==(lhs: CountableRange<Bound>, rhs: CountableRange<Bound>) -> Bool ^ Swift.ClosedRange<Bound>:15:24: note: found this candidate public static func ==(lhs: ClosedRange<Bound>, rhs: ClosedRange<Bound>) -> Bool ^ Swift.CountableClosedRange<Bound>:15:24: note: found this candidate public static func ==(lhs: CountableClosedRange<Bound>, rhs: CountableClosedRange<Bound>) -> Bool ^ Swift.ReversedIndex:7:24: note: found this candidate public static func ==(lhs: ReversedIndex<Base>, rhs: ReversedIndex<Base>) -> Bool ^ Swift.ReversedRandomAccessIndex:7:24: note: found this candidate public static func ==(lhs: ReversedRandomAccessIndex<Base>, rhs: ReversedRandomAccessIndex<Base>) -> Bool ^ Swift.UnsafeMutablePointer<Pointee>:9:24: note: found this candidate public static func ==(lhs: UnsafeMutablePointer<Pointee>, rhs: UnsafeMutablePointer<Pointee>) -> Bool ^ Swift.UnsafePointer<Pointee>:9:24: note: found this candidate public static func ==(lhs: UnsafePointer<Pointee>, rhs: UnsafePointer<Pointee>) -> Bool ^ Foundation.Measurement<UnitType>:26:24: note: found this candidate public static func ==<LeftHandSideType, RightHandSideType>(lhs: Measurement<LeftHandSideType>, rhs: Measurement<RightHandSideType>) -> Bool where LeftHandSideType : Unit, RightHandSideType : Unit ^ CoreStore.Into:70:24: note: found this candidate public static func ==<T, U>(lhs: CoreStore.Into<T>, rhs: CoreStore.Into<U>) -> Bool where T : NSManagedObject, U : NSManagedObject ^ CoreStore.ListMonitor:260:24: note: found this candidate public static func ==<T>(lhs: CoreStore.ListMonitor<T>, rhs: CoreStore.ListMonitor<T>) -> Bool where T : NSManagedObject ^ CoreStore.ListMonitor:261:24: note: found this candidate public static func ==<T, U>(lhs: CoreStore.ListMonitor<T>, rhs: CoreStore.ListMonitor<U>) -> Bool where T : NSManagedObject, U : NSManagedObject ^ CoreStore.ObjectMonitor:40:24: note: found this candidate public static func ==<T>(lhs: CoreStore.ObjectMonitor<T>, rhs: CoreStore.ObjectMonitor<T>) -> Bool where T : NSManagedObject ^ CoreStore.ObjectMonitor:41:24: note: found this candidate public static func ==<T, U>(lhs: CoreStore.ObjectMonitor<T>, rhs: CoreStore.ObjectMonitor<U>) -> Bool where T : NSManagedObject, U : NSManagedObject ^ CoreStore.Select:60:24: note: found this candidate public static func ==<T, U>(lhs: CoreStore.Select<T>, rhs: CoreStore.Select<U>) -> Bool where T : SelectResultType, U : SelectResultType ^ CoreStore.SetupResult:45:24: note: found this candidate public static func ==<T, U>(lhs: CoreStore.SetupResult<T>, rhs: CoreStore.SetupResult<U>) -> Bool where T : StorageInterface, U : StorageInterface ```
adam added the question label 2025-12-29 15:25:18 +01:00
adam closed this issue 2025-12-29 15:25:18 +01:00
Author
Owner

@JohnEstropia commented on GitHub (May 24, 2017):

Hi, can you show the relevant code where this happens?

@JohnEstropia commented on GitHub (May 24, 2017): Hi, can you show the relevant code where this happens?
Author
Owner

@JohnEstropia commented on GitHub (May 28, 2017):

I am closing this issue as this seems to be solvable in user code. If that isn't the case please provide more info, thanks!

@JohnEstropia commented on GitHub (May 28, 2017): I am closing this issue as this seems to be solvable in user code. If that isn't the case please provide more info, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#136