Branch: Tag:

2022-01-05

2022-01-05 19:24:39 by Martin Nilsson <nilsson@fastmail.com>

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([[