Modifications of variables within For block discarded after block end

Bug #1337512 reported by Stan Lagun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Stan Lagun

Bug Description

In some macro (For, Switch, maybe some others) modifications that are made to local method variables are visible only within that macro block and discarded after it exits

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/104651

Changed in murano:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/104651
Committed: https://git.openstack.org/cgit/stackforge/murano/commit/?id=9a39c31cb985e84e7800bc1136430b08eea7f6dd
Submitter: Jenkins
Branch: master

commit 9a39c31cb985e84e7800bc1136430b08eea7f6dd
Author: Stan Lagun <email address hidden>
Date: Thu Jul 3 23:10:29 2014 +0400

    Unit tests for macro blocks

    Also:
     * fixes local variable scope for several macro
     * make thrown exceptions be more descriptive
     * parsing error happened when Limit for ParallelCode was integer (and not expression)
     * improved Break support

    Change-Id: Ie17240c2d343014ce3da9ddc6577cf93cf99b106
    Closes-Bug: #1337512
    Partial-Bug: #1316786

Changed in murano:
status: In Progress → Fix Committed
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-2 → 2014.2
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.