Avatar
swiftbot BOT 4/2/2018 3:30 AM
Swift version 4.1 (swift-4.1-RELEASE) Target: x86_64-unknown-linux-gnu
3:30 AM
/usercode/main.swift:4:27: error: heterogeneous collection literal could only be inferred to '[Any]'; add explicit type annotation if this is intentional static var allTests = ["testA", testA] ^~~~~~~~~~~~~~~~ as [Any] /usercode/main.swift:6:10: error: cannot invoke 'testCase' with an argument list of type '([Any])' XCTMain([testCase(Test.allTests)]) ^ /usercode/main.swift:6:10: note: overloads for 'testCase' exist with these partially matching parameter lists: ([(String, (T) -> () throws -> Void)]), ([(String, (T) -> () -> Void)]) XCTMain([testCase(Test.allTests)]) ^