You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Basis is still being upgraded to Swift 1.1. In the meantime, you should be using beta 3 (or the "GM") in the developer portal to compile this stuff. Assert has changed since then, and so I altered error to use the new one.
the calling of assert was giving me an issue at compile time. I hacked it to this and it worked...
public func error(x : String) -> A {
assert(2<1, "df")
}
Didn't get to the bottom of it, but (1) it didn't want the boolean literal (2) it didn't want to use the string argument supplied?
Xcode 6.1 beta 1
The text was updated successfully, but these errors were encountered: