GoLang:fix overload functions with polymorphic issue

This commit is contained in:
Anthony Li 2014-10-06 19:26:07 +08:00
commit 60da096a07
663 changed files with 180498 additions and 1 deletions

View file

@ -4363,7 +4363,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);
}

5385
Source/Modules/go.cxx~ Normal file

File diff suppressed because it is too large Load diff