wickwirew / Runtime

A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.
MIT License
1.08k stars 94 forks source link

Fix definition if 'Kind', get test running and passing on linux #20

Closed sportlabsMike closed 6 years ago

sportlabsMike commented 6 years ago

Hi,

I noticed that all the GetSetClassTests were failing on Linux. After a bit of digging I found it was due to an incorrect definition of Kind. See https://github.com/apple/swift/blob/master/include/swift/ABI/MetadataKind.def and https://github.com/Zewo/Reflection/blob/master/Sources/Reflection/Metadata%2BKind.swift

This pull request fixes Kind and configures travis to run test on both macOS and linux.

This fix will fix the following PR https://github.com/GraphQLSwift/GraphQL/pull/38

paulofaria commented 6 years ago

@sportlabsMike thanks for this! 👍

wickwirew commented 6 years ago

Looks good thanks!