Fix handling of protected methods in Go when using directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
643f603475
commit
0c8c5e7614
3 changed files with 74 additions and 22 deletions
10
Examples/test-suite/go/director_alternating_runme.go
Normal file
10
Examples/test-suite/go/director_alternating_runme.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package main
|
||||
|
||||
import . "./director_alternating"
|
||||
|
||||
func main() {
|
||||
id := GetBar().Id()
|
||||
if id != IdFromGetBar() {
|
||||
panic(id)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue