Unexpected updating expression illegal here
Bug #867266 reported by
Federico Cavalieri
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/
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 |
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
milestone: | none → 2.2 |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is an optimization (hoisting) problem.
Reassigning to Markos.