Branch: Tag:

2014-12-04

2014-12-04 19:24:57 by Martin Nilsson <nilsson@opera.com>

Fixed callablep for multi-level arrays.

10464:      // - callablep   test_true( callablep(time) ) - test_true( callablep(String.capitalize) ) - test_true( callablep(CommonLog.read) ) - test_true( callablep(ADT.Stack) ) +    test_true( callablep(String.Buffer) )   test_true( callablep( class { void `()() { } }() ) )   test_false( callablep(String.Buffer()) )   test_true( callablep( ({}) ) )   test_true( callablep( ({ 0,0 }) ) ) - test_false( callablep( ({ 0,1 }) ) ) + test_treu( callablep( ({ 0,1 }) ) )   test_true( callablep( ({ time }) ) )   test_true( callablep( ({ time, 0 }) ) )   test_false( callablep( ({ "a", time }) ) )
10482:   test_false( callablep( (< time >) ) )   test_false( callablep( 0 ) )   test_false( callablep( 7 ) ) + test_true( callablep( ({ ({ 0, 1, time }) }) ) ) + test_false( callablep( ({ ({ 0, "" }) }) ) )         // - cd