I am attempting to pass in a trailing closure parameter as follows (The code works without this function):

```
PNObservationCenter.defaultCenter().addClientConnectionStateObserver(self) { 
    (origin: String!, connected: Bool!, error: PNError!) in
    if (connected) {
        println("OBSERVER: Successful Connection!");
    } else if (!connected || error) {
        println("OBSERVER: \(error.localizedDescription), Connection Failed!");
    }
}

```

However, the build fails with this message:

Command /Applications/Xcode6-
Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift failed with exit code 254

Does anyone have insight into what I'm doing incorrectly? Thanks in advance.

Edit: This code still crashes if implemented as a non-trailing closure or as a separate function passed as a parameter.