From 1b05a11f14d6df63566c25494ff0389f0448d1f2 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 26 Nov 2013 12:29:01 +0100 Subject: fixed # 179 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit don’t identify primitive (static) C-Slots as implicit formal parameters --- blocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blocks.js') 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 -- cgit v1.3.1