[PHP] Fix handling of overloaded methods/functions where some
return void and others don't - whether this worked or not depended on the order they were encountered in (SF#3208299). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5d765893ed
commit
72fc8be46c
4 changed files with 24 additions and 3 deletions
|
|
@ -7,4 +7,7 @@ $b = new B;
|
|||
check::equal($b->foo(1), 0, "");
|
||||
check::classname("A", $b->foo("test"));
|
||||
|
||||
check::equal(overload_return_type::foo(), 1, "overload_return_type::foo() should be 1");
|
||||
check::equal(overload_return_type::bar(), 1, "overload_return_type::bar() should be 1");
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue