Created
January 26, 2016 04:03
-
-
Save JRHeaton/6d8a1c0e8e242bba2e32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~> cat test.swift | |
print((0, 1) == (0, 1)) | |
/tmp | |
~> sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/ | |
/tmp | |
~> swift test.swift | |
test.swift:1:14: error: binary operator '==' cannot be applied to two '(Int, Int)' operands | |
print((0, 1) == (0, 1)) | |
~~~~~~ ^ ~~~~~~ | |
/tmp | |
~> sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer/ | |
/tmp | |
~> swift test.swift | |
true | |
/tmp | |
~> cat test2.swift | |
#if swift(>=2.2) | |
print("2.2 yo") | |
#endif | |
/tmp | |
~> swift test2.swift | |
test2.swift:1:5: error: unexpected target configuration expression (expected 'os' or 'arch') | |
#if swift(>=2.2) | |
^ | |
/tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment