Project

Profile

Help

Revision 35ff3033

Added by Michael Kay about 1 year ago

Fix bug #4642

View differences:

latest10/hej/net/sf/saxon/expr/instruct/ComponentTracer.java
85 85
    @Override
86 86
    public Expression copy(RebindingMap rebindings) {
87 87
        ComponentTracer t = new ComponentTracer(component);
88
        Expression newBody = getBody().copy(rebindings);  // Bug 4642
89
        t.baseOp = new Operand(t, newBody, OperandRole.SAME_FOCUS_ACTION);
90
        t.adoptChildExpression(newBody);
88 91
        t.setLocation(getLocation());   // Bug 3034
89 92
        return t;
90 93
    }

Also available in: Unified diff