summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-11-26 12:29:01 +0100
committerjmoenig <jens@moenig.org>2013-11-26 12:29:01 +0100
commit1b05a11f14d6df63566c25494ff0389f0448d1f2 (patch)
tree39d50a1e57b325d7cdc047bb3cfeefe221b55814 /blocks.js
parentf10a16e3f60de760485d6acc07aa8d2e4800c6c4 (diff)
downloadsnap-1b05a11f14d6df63566c25494ff0389f0448d1f2.tar.gz
snap-1b05a11f14d6df63566c25494ff0389f0448d1f2.zip
fixed # 179
don’t identify primitive (static) C-Slots as implicit formal parameters
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/blocks.js b/blocks.js
index aac8987..4dc7ccc 100644
--- a/blocks.js
+++ b/blocks.js
@@ -5262,7 +5262,7 @@ CommandSlotMorph.prototype.evaluate = function () {
};
CommandSlotMorph.prototype.isEmptySlot = function () {
- return this.nestedBlock() === null;
+ return !this.isStatic && (this.nestedBlock() === null);
};
// CommandSlotMorph context menu ops