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
enum SomeError: ErrorType { | |
case Empty | |
case Short | |
case Obvious(String) | |
} | |
func abc(clousre: () throws -> Bool) rethrows { | |
var ab = clousre | |
try a(&ab) //Error | |
} |
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
enum SomeError: ErrorType { | |
case Empty | |
case Short | |
case Obvious(String) | |
} | |
func abc(clousre: () throws -> Bool) rethrows { | |
var ab = clousre | |
try a(&ab) //Error | |
} |
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
******************** TEST 'Swift :: Driver/Dependencies/bindings-build-record.swift' FAILED ******************** | |
Script: | |
-- | |
rm -rf /Users/gndbl/myswift/swfit/myswift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/test-macosx-x86_64/Driver/Dependencies/Output/bindings-build-record.swift.tmp && cp -r /Users/gndbl/myswift/swfit/myswift/swift/test/Driver/Dependencies/Inputs/bindings-build-record/ /Users/gndbl/myswift/swfit/myswift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/test-macosx-x86_64/Driver/Dependencies/Output/bindings-build-record.swift.tmp | |
touch -t 201401240005 /Users/gndbl/myswift/swfit/myswift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/test-macosx-x86_64/Driver/Dependencies/Output/bindings-build-record.swift.tmp/* | |
cd /Users/gndbl/myswift/swfit/myswift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/test-macosx-x86_64/Driver/Dependencies/Output/bindings-build-record.swift.tmp && env SDKROOT= '/Users/gndbl/myswift/swfit/myswift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc' -module-cache-p |
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
// | |
// TestGeneratorTests.swift | |
// TestGeneratorTests | |
// | |
// Created by User on 12/6/15. | |
// Copyright © 2015 Codester. All rights reserved. | |
// | |
public struct EnumerateGeneratorOriginal< | |
Base : GeneratorType |