Remove the -rename option in the Go language support. Do a much
better job of checking for name conflicts. Ignore conflicting names with a warning. Adjust the testsuite accordingly. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
683dafb6d3
commit
2970f53c21
18 changed files with 232 additions and 94 deletions
|
|
@ -4,7 +4,7 @@ import "fmt"
|
|||
import . "./smart_pointer_member"
|
||||
|
||||
func main() {
|
||||
f := NewFoos()
|
||||
f := NewFoo()
|
||||
f.SetY(1)
|
||||
|
||||
if f.GetY() != 1 {
|
||||
|
|
@ -24,7 +24,7 @@ func main() {
|
|||
panic(0)
|
||||
}
|
||||
|
||||
if b.GetZ() != GetFoosZ() {
|
||||
if b.GetZ() != GetFooZ() {
|
||||
panic(0)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue