Unexpected updating expression illegal here

Bug #867266 reported by Federico Cavalieri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Medium
Markos Zaharioudakis

Bug Description

This raises an error:
4,1: update static error [err:XUST0001]: updating expression illegal here; raised at /zorba/trunksrc/src/compiler/expression/fo_expr.cpp:222
variable $x:=<a/>;
for $y in $x
return
replace value of node $x with "x"

This doesn't:
variable $x:=<a/>;
for $y in $x
return
replace value of node $y with "x"

description: updated
Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

This is an optimization (hoisting) problem.

Reassigning to Markos.

Changed in zorba:
assignee: Gabriel Petrovay (gabipetrovay) → Markos Zaharioudakis (markos-za)
Changed in zorba:
status: New → Fix Committed
Revision history for this message
Markos Zaharioudakis (markos-za) wrote :

Fixed in r10661

Changed in zorba:
milestone: none → 2.2
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.