-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
public static func ==<T: HDUValue>(lhs: HDUValue, rhs: T?) -> Bool { // --- line 0 ----
guard type(of: lhs) == T.self else { return false }
if let right = rhs {
return lhs.hashable == right.hashable
} else {
return false
}
}
Xcode complains:
/SourcePackages/checkouts/fitscore/Sources/FITS/HDU/HEADER/HDUValue.swift:109:24 Member operator '==' of protocol 'HDUValue' must have at least one argument of type 'Self'
on line 0 above.
Metadata
Metadata
Assignees
Labels
No labels