Branch: Tag:

1999-03-04

1999-03-04 06:05:14 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

::`() and ::`-> implemented

Rev: src/language.yacc:1.112
Rev: src/las.c:1.76
Rev: src/las.h:1.19
Rev: src/main.c:1.65
Rev: src/object.c:1.58
Rev: src/object.h:1.24
Rev: src/program.c:1.113
Rev: src/stralloc.c:1.56
Rev: src/stralloc.h:1.34
Rev: src/testsuite.in:1.153

1: - stest_true([["$Id: testsuite.in,v 1.152 1999/03/03 02:39:43 hubbe Exp $"]]) + stest_true([["$Id: testsuite.in,v 1.153 1999/03/04 06:05:14 hubbe Exp $"]])   cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
169:   test_eq([[ "\007" | "\023"]],"\027")   test_eq([[ "\007" ^ "\023"]],"\024")    +  + test_any([[ + return class { int i=17; }()["i"] + ]],17) +  + test_any([[ + return class { int i=17; mixed `[](string foo) { return i; }}()[""] + ]],17) +  + test_any([[ + return class { int i=17; mixed `[](string foo) { return ::`[]("i"); }}()[""] + ]],17) +  + test_any([[ + return class { int i=17; mixed `[](string foo) { return ::`[]; }}()[""]("i") + ]],17) +  + test_any([[ + return class { int i=17; mixed `[](string foo) { return ::`[]; }}()[""]("y") + ]],0) +    test_compile_any([[    class X { void hej() {} }    class Y { inherit X:banan; void hopp() { banan::hej(); } }   ]])    -  +    test_compile_any([[    class X { static void hej() {} }    class Y { inherit X:banan; void hopp() { ::hej(); } }