Project

Profile

Help

Revision 7e776419

Added by Michael Kay almost 8 years ago

Fix bug 1981 (copying a "group by" variable binding)

View differences:

latest9.5/hej/net/sf/saxon/expr/flwor/LocalVariableBinding.java
46 46
     */
47 47

  
48 48
    public LocalVariableBinding copy() {
49
        return new LocalVariableBinding(variableName, requiredType);
49
        LocalVariableBinding lvb = new LocalVariableBinding(variableName, requiredType);
50
        lvb.refCount = refCount;
51
        lvb.slotNumber = slotNumber;
52
        return lvb;
50 53
    }
51 54

  
52 55
    /**

Also available in: Unified diff