Operator declarations are actually public all the time, not internal. That’s itself probably a bug, but not the world-limiting one you’re concerned about.
Jordan > On Feb 3, 2017, at 01:18, Rien via swift-users <[email protected]> wrote: > > It is possible to define custom operators in a framework, but it is not > possible to assign access levels to them. > > As a consequence they are module internal and cannot be used outside the > framework. > > Each project needs to redefine the custom operators in order to use them in > that project. > > What is the rationale behind that? > > Or is it a bug? > > Are there other ways to accomplish this? > > Regards, > Rien > > Site: http://balancingrock.nl > Blog: http://swiftrien.blogspot.com > Github: http://github.com/Balancingrock > Project: http://swiftfire.nl > > > > > > _______________________________________________ > swift-users mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-users _______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
