pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2022-01-05
2022-01-05 19:24:39 by Martin Nilsson <nilsson@fastmail.com>
3c8977cfaa0e71f6b14f4042b53f0680f371c080 (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
master
Updated a few tests.
878:
test_any([[class foo { string a; }; object(foo) bar;
-
return sprintf("%O", typeof(bar->a));]], "string");
+
return sprintf("%O", typeof(bar->a));]], "
zero |
string");
test_any([[class foo { string a; }; array(object(foo)) bar;
-
return sprintf("%O", typeof(bar[0]->a));]], "string");
+
return sprintf("%O", typeof(bar[0]->a));]], "
zero |
string");
test_any([[function(:string)|function(int:int) f; return sprintf("%O", typeof(f())); ]],
976:
Bar d; return sprintf("%O$%O$%O$%O", Bar()->f(), typeof(c->m), typeof(d->m), typeof(d->b->m));
-
}]], "
mixed$mixed$string$mixed
")
+
}]], "
mixed$mixed$zero | string$mixed
")
// las.c:find_return_type() checks. test_eq([[