From 14c9b1abcbf365467f435108da03825dc726afb2 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Wed, 2 Oct 2024 09:52:16 -0700 Subject: [PATCH] chore: remove obsolete comment. (#8606) --- core/generator.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/generator.ts b/core/generator.ts index 869e29a6a..85763b3cf 100644 --- a/core/generator.ts +++ b/core/generator.ts @@ -252,8 +252,7 @@ export class CodeGenerator { return opt_thisOnly ? '' : this.blockToCode(block.getChildren(false)[0]); } - // Look up block generator function in dictionary - but fall back - // to looking up on this if not found, for backwards compatibility. + // Look up block generator function in dictionary. const func = this.forBlock[block.type]; if (typeof func !== 'function') { throw Error(