Merge pull request #235 from dontpanic92/master
Go: fix overload functions with polymorphic
This commit is contained in:
commit
da7133aa8e
4 changed files with 35 additions and 1 deletions
|
|
@ -4414,7 +4414,7 @@ private:
|
|||
}
|
||||
|
||||
fn = i + 1;
|
||||
Printf(f_go_wrappers, "\t\tif _, ok := a[%d].(%s); !ok {\n", j, tm);
|
||||
Printf(f_go_wrappers, "\t\tif _, ok := a[%d].(%s); !ok {\n", j, goType(pj, Getattr(pj, "type")));
|
||||
Printf(f_go_wrappers, "\t\t\tgoto check_%d\n", fn);
|
||||
Printv(f_go_wrappers, "\t\t}\n", NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue