I’m currently evaluating Silver as a replacement for Xamarin. I’ve generally been having a lot of fun, but hit a snag when I tried to include RxSwift. I get loads of error E550: “Equals” constraints in “where” are not supported in Silver
For instance in:
override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == S.E
This particular example is easily fixed but others are not
final fileprivate class SubscribeOnSink<Ob: ObservableType, O: ObserverType> : Sink<O>, ObserverType where Ob.E == O.E
In any case, there’s more than 300 of these and I feel fixing them all will make upgrades tiresome.
What is the status on the Equals constraint? I can’t find anything in the documentation about this (https://docs.elementscompiler.com/Silver/DifferencesAndLimitations/ or https://docs.elementscompiler.com/Silver/SwiftEvolution/)
Is the Equals constraint going to be supported or has it been ruled out completely?