IDE:Visual Studio X/Fire Version:10.0.0.2407 (develop) Target (If relevant): OSX Description:
A function that is defined in another function does not parse “throws”
It would seem that the previous fix did not take the return type into account:
func foo() {
func bar() throws -> Int { 5 } // E1 opening bracket expected, got lambda
// E504 Semicolon (;) required to separate two statements on the same line
// E1 closing bracket expected, got lambda
}