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

UInt64 downcast from JSON fails on Linux #27

Closed
twostraws opened this issue Sep 18, 2017 · 1 comment
Closed

UInt64 downcast from JSON fails on Linux #27

twostraws opened this issue Sep 18, 2017 · 1 comment

Comments

@twostraws
Copy link

When authenticating using GitHub, this line of code fails when run using Swift 3.1.1 on Linux: https://github.com/IBM-Swift/Kitura-CredentialsGitHub/blob/daac5a9ed9b5aff0d79a62588e4c59d3c32f2d5b/Sources/CredentialsGitHub/CredentialsGitHub.swift#L221

It works fine on macOS/Swift 4.0 as-is, but changing to as? Int appears to clear the problem on Linux while still working on macOS.

@youming-lin
Copy link
Collaborator

@twostraws I've merged fix and tagged 1.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants