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

error.swift: problem building the project #2

Closed
cognociente opened this issue Oct 5, 2014 · 2 comments
Closed

error.swift: problem building the project #2

cognociente opened this issue Oct 5, 2014 · 2 comments

Comments

@cognociente
Copy link

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

@CodaFi
Copy link
Member

CodaFi commented Oct 5, 2014

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.

@CodaFi
Copy link
Member

CodaFi commented Oct 10, 2014

Closing this. If you have anymore questions or issues, feel free to reopen this. For now, it compiles just fine.

@CodaFi CodaFi closed this as completed Oct 10, 2014
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