Skip to content

Commit

Permalink
fixed a scope highlighting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoenig committed Feb 6, 2023
1 parent d5ab41c commit 6a51812
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
* **Documentation Updates:**
* **Translation Updates:**

## 8.1.5:
* **Notable Fixes:**
* fixed a scope highlighting bug

### 2023-02-06
* blocks: fixed a scope highlighting bug
* gui: prepared v8.1.5 patch

## 8.1.4:
* **Notable Fixes:**
* blocks: fixed setting a default value for Boolean input slots in custom blocks
Expand Down
4 changes: 2 additions & 2 deletions snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
<script src="src/morphic.js?version=2023-01-31"></script>
<script src="src/symbols.js?version=2021-03-03"></script>
<script src="src/widgets.js?version=2022-10-19"></script>
<script src="src/blocks.js?version=2023-02-05"></script>
<script src="src/blocks.js?version=2023-02-06"></script>
<script src="src/threads.js?version=2023-02-04"></script>
<script src="src/objects.js?version=2023-02-04"></script>
<script src="src/scenes.js?version=2022-10-25"></script>
<script src="src/gui.js?version=2023-02-05"></script>
<script src="src/gui.js?version=2023-02-06"></script>
<script src="src/paint.js?version=2021-07-05"></script>
<script src="src/lists.js?version=2023-01-31"></script>
<script src="src/byob.js?version=2023-02-01"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ SVG_Costume, embedMetadataPNG, ThreadManager*/

// Global stuff ////////////////////////////////////////////////////////

modules.blocks = '2023-February-05';
modules.blocks = '2023-February-06';

var SyntaxElementMorph;
var BlockMorph;
Expand Down Expand Up @@ -5739,7 +5739,7 @@ BlockMorph.prototype.fullScopeFor = function (varName, afterThis) {
return scope;
}

return select(this.unwind().slice(afterThis ? 1 : 0)).flat();
return select(this.unwind().slice(afterThis ? 1 : 0)).flat(Infinity);
};

// BlockMorph op-sequence analysis
Expand Down
4 changes: 2 additions & 2 deletions src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ BlockVisibilityDialogMorph, ThreadManager, isString, SnapExtensions*/

// Global stuff ////////////////////////////////////////////////////////

modules.gui = '2022-February-05';
modules.gui = '2022-February-06';

// Declarations

var SnapVersion = '8.1.4';
var SnapVersion = '8.1.5';

var IDE_Morph;
var ProjectDialogMorph;
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var snapVersion = '8.1.4',
var snapVersion = '8.1.5',
cacheName = `snap-pwa-${snapVersion}`,
filesToCache = [
'snap.html',
Expand Down

0 comments on commit 6a51812

Please sign in to comment.