[Go] Fix overloaded functions with noncapitalized class as parameter type
Fixes #676 #677
This commit is contained in:
parent
7ec2f89fe2
commit
d3383e254d
1 changed files with 5 additions and 1 deletions
|
|
@ -5226,10 +5226,14 @@ private:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Getattr(undefined_types, ty) && !Getattr(defined_types, ty)) {
|
String* go_type = goType(n, ty);
|
||||||
|
|
||||||
|
if (Getattr(undefined_types, ty) && !Getattr(defined_types, go_type)) {
|
||||||
|
Delete(go_type);
|
||||||
return goWrapperType(n, type, true);
|
return goWrapperType(n, type, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Delete(go_type);
|
||||||
return goType(n, type);
|
return goType(n, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue