From ce02e6216becfc6223da66dc47145631b5559e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20M=C3=B6nig?= Date: Fri, 11 Mar 2022 10:17:43 +0100 Subject: [PATCH] fixed an edge case for slot type inferral --- HISTORY.md | 4 ++++ snap.html | 2 +- src/blocks.js | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 30b8fe50..43d6b574 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,9 +6,13 @@ * **Notable Changes:** * **Notable Fixes:** * guard against broken SVG costumes when loading a project + * fixed an edge case for slot type inferral * **Documentation Updates:** * **Translation Updates:** +### 2022-03-11 +* blocks: fixed an edge case for slot type inferral + ### 2022-03-10 * gui: made dev-warning closeable and added official url diff --git a/snap.html b/snap.html index 5f6ac733..c3faae43 100755 --- a/snap.html +++ b/snap.html @@ -16,7 +16,7 @@ - + diff --git a/src/blocks.js b/src/blocks.js index 5cf02371..ecab6eb7 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -161,7 +161,7 @@ CostumeIconMorph, SoundIconMorph, SVG_Costume*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2022-March-07'; +modules.blocks = '2022-March-11'; var SyntaxElementMorph; var BlockMorph; @@ -6670,7 +6670,7 @@ ReporterBlockMorph.prototype.determineSlotSpec = function () { if (this.parent instanceof TemplateSlotMorph) { return this.parent.getSpec(); } - return null; + return ''; }; // ReporterBlockMorph events