Project

Profile

Help

Revision 7864e510

Added by Michael Kay almost 11 years ago

Fix bug 3141754 ClassCastException in fold-left/fold-right

View differences:

latest9.3/hej/net/sf/saxon/type/AnyFunctionType.java
54 54
    }
55 55

  
56 56
    /**
57
     * Get the result type
58
     * @return the result type
59
     */
60

  
61
    public SequenceType getResultType() {
62
        return SequenceType.ANY_SEQUENCE;
63
    }
64

  
65

  
66
    /**
57 67
     * Get the type from which this item type is derived by restriction. This
58 68
     * is the supertype in the XPath type heirarchy, as distinct from the Schema
59 69
     * base type: this means that the supertype of xs:boolean is xs:anyAtomicType,

Also available in: Unified diff