Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux build fails due to operator overloading #1

Open
alicerunsonfedora opened this issue Sep 28, 2020 · 0 comments
Open

Linux build fails due to operator overloading #1

alicerunsonfedora opened this issue Sep 28, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@alicerunsonfedora
Copy link
Member

The Linux build is currently failing, most likely due to SwiftyJSON:

/home/runner/work/cli/cli/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
    case (.number, .number): return lhs.rawNumber < rhs.rawNumber
                                                  ^
/home/runner/work/cli/cli/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool

See also: SwiftyJSON/SwiftyJSON#1048

@alicerunsonfedora alicerunsonfedora added the bug Something isn't working label Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant