Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #451 from LLK/fix-set-spec
Browse files Browse the repository at this point in the history
Fix setting block specs for variable/list getters
  • Loading branch information
sclements committed Aug 13, 2014
2 parents 44c231e + c0a4964 commit adf75db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/Block.as
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public class Block extends Sprite {
var b:Block;
labelsAndArgs.push(b = declarationBlock());
} else if (op == Specs.GET_VAR || op == Specs.GET_LIST) {
labelsAndArgs.push(makeLabel(spec));
labelsAndArgs = [makeLabel(spec)];
} else {
const loopBlocks:Array = ['doForever', 'doForeverIf', 'doRepeat', 'doUntil'];
base.hasLoopArrow = (loopBlocks.indexOf(op) >= 0);
Expand Down

0 comments on commit adf75db

Please sign in to comment.