It's actually the other way around: all operator declarations are exported from a module, all the time, even if the functions that implement them aren't. This is probably a model we should improve, but it's been that way since Swift 1.
Jordan > On Sep 6, 2017, at 02:08, Howard Lovatt via swift-users > <swift-users@swift.org> wrote: > > Hi All, > > I am trying to use a custom operator imported from a module, unfortunately > you can't add public to the operators definition and therefore it isn't > exported from the module. > > I can manually redefine the operator in the module where the operator is > used, but that isn't very satisfactory - is there a better way? > > Thanks in advance, > > -- Howard. > _______________________________________________ > swift-users mailing list > swift-users@swift.org > https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users