Branch: Tag:

1999-09-11

1999-09-11 08:15:58 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for inherit

Rev: src/las.c:1.86
Rev: src/las.h:1.20
Rev: src/program.c:1.138
Rev: src/testsuite.in:1.193

1: - test_true([["$Id: testsuite.in,v 1.192 1999/09/06 11:13:22 hubbe Exp $"]]) + test_true([["$Id: testsuite.in,v 1.193 1999/09/11 08:15:58 hubbe Exp $"]])   cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
93:   ]])   test_do(_static_modules())   test_compile_any([[import Stdio; class x { string y() { read_file("foo"); } }]]) + test_compile_any([[ + class Bar + { +  int f() {return 17;} +  +  class Foo { +  int g() {return f();} +  } +  +  inherit Foo; + } + ]]) + tes_compile_any([[ + class Bar + { +  int f() {return 17;} +  +  class Foo { +  int g() {return f();} +  } + } +  + class Gnu + { +  inherit Bar; +  inherit Foo; + } +  + ]])   test_compile([[Stdio.File foo=Stdio.File();]])   test_compile([[ string|multiset(string) foo;    array(string) gazonk;