Remove PHP-specific testcase workarounds

The changes on this branch mean these are no longer required.
This commit is contained in:
Olly Betts 2021-04-19 18:50:49 +12:00
commit 1bf23edc06
4 changed files with 3 additions and 19 deletions

View file

@ -60,10 +60,7 @@ class C extends FooBar_int {
}
$cc = new C();
# TODO: Currently we do not track the dynamic type of returned
# objects, so we skip the get_self() call.
#$c = Foobar_int::get_self($cc);
$c = $cc;
$c = Foobar_int::get_self($cc);
$c->advance();
check::equal($c->get_name(), "FooBar::get_name hello", "get_name failed");