chore: remove obsolete comment. (#8606)

This commit is contained in:
Aaron Dodson
2024-10-02 09:52:16 -07:00
committed by GitHub
parent e777086f16
commit 14c9b1abcb

View File

@@ -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(