Branch: Tag:

2008-08-07

2008-08-07 14:05:47 by Martin Stjernholm <mast@lysator.liu.se>

Added a test for something that looks like a type check error for
map() in strict_types mode.

Rev: src/testsuite.in:1.846

1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.845 2008/07/24 11:56:20 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.846 2008/08/07 14:05:47 mast Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
880:    void y (string|int s) {x (s);};   ]])    + test_compile_any([[ +  #pragma strict_types +  array(string) x = ({"A", "B"}); +  mixed a() {return map (x, lower_case);} + ]]) +    cond( [[ master()->resolv("Pike")->Security ]],[[    test_any( [[    // bug [2830] ------------------------------------------------------------