@@ -72,7 +72,10 @@ +(NSArray *) testCodes
7272 @" func sayHelloWorld() ->String" ,
7373 @" func testParamsType(var a: Int) {" ,
7474 @" init(style: Style, gearing: Gearing, handlebar: Handlebar, frameSize centimeters: Int) {" ,
75- @" public subscript(key: KeyType)-> ValueType? {" ];
75+ @" public subscript(key: KeyType)-> ValueType? {" ,
76+ @" func methodCouldThrows(count: Int) throws -> Int {" ,
77+ @" func methodCouldThrows() throws {" ,
78+ @" func methodCouldThrows(count: Int, name: String, f: (Int, String) throws -> Void) rethrows -> Int {" ];
7679
7780 /*
7881 //Now there is no difference between Objective-C (C) struct and Swift struct. Ignore this.
@@ -143,7 +146,10 @@ +(NSArray *) uniformCodes
143146 @" func sayHelloWorld()->String" ,
144147 @" func testParamsType(var a: Int){" ,
145148 @" init(style: Style, gearing: Gearing, handlebar: Handlebar, frameSize centimeters: Int){" ,
146- @" public subscript(key: KeyType)-> ValueType? {" ];
149+ @" public subscript(key: KeyType)-> ValueType? {" ,
150+ @" func methodCouldThrows(count: Int)throws -> Int {" ,
151+ @" func methodCouldThrows()throws {" ,
152+ @" func methodCouldThrows(count: Int, name: String, f:(Int, String)throws -> Void)rethrows -> Int {" ];
147153
148154 /*
149155 //Now there is no difference between Objective-C (C) struct and Swift struct. Ignore this.
0 commit comments