Skip to content

Commit

Permalink
tell compat block utility to not be shit
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong authored Sep 11, 2024
1 parent 3d2cd28 commit 837d484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/compiler/compat-block-utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class CompatibilityLayerBlockUtility extends BlockUtility {
return new Function(`Procedure ${proccode}`, evaluate)();
}

/*
// Parameters are not used by compiled scripts.
initParams () {
throw new Error('initParams is not supported by this BlockUtility');
Expand All @@ -45,6 +46,7 @@ class CompatibilityLayerBlockUtility extends BlockUtility {
getParam () {
throw new Error('getParam is not supported by this BlockUtility');
}
*/

init (thread, fakeBlockId, stackFrame, branchInfo) {
this.thread = thread;
Expand Down

0 comments on commit 837d484

Please sign in to comment.