bind: replace an incorrect return with continue

Change-Id: Ie929e60614b7a42ab7f65b500725168015946f87
Reviewed-on: https://go-review.googlesource.com/24080
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Elias Naur 2016-06-14 18:15:23 +02:00
parent 6837d85185
commit d53576ecbc
2 changed files with 4 additions and 1 deletions

View File

@ -714,7 +714,7 @@ func (g *objcGen) genInterfaceInterface(obj *types.TypeName, summary ifaceSummar
for _, m := range summary.callable {
if !g.isSigSupported(m.Type()) {
g.Printf("// skipped method %s.%s with unsupported parameter or return types\n\n", obj.Name(), m.Name())
return
continue
}
s := g.funcSummary(m)
g.Printf("- %s;\n", s.asMethod(g))

View File

@ -57,5 +57,8 @@
- (id)initWithRef:(id)ref;
// skipped method I.Argument with unsupported parameter or return types
// skipped method I.Result with unsupported parameter or return types
@end
#endif