diff --git a/core/generator.ts b/core/generator.ts index 35a96239637..e80bfb3a745 100644 --- a/core/generator.ts +++ b/core/generator.ts @@ -568,7 +568,7 @@ export class CodeGenerator { * @param _opt_thisOnly True to generate code for only this statement. * @returns Code with comments and subsequent blocks added. */ - protected scrub_( + scrub_( _block: Block, code: string, _opt_thisOnly?: boolean, diff --git a/generators/javascript/javascript_generator.ts b/generators/javascript/javascript_generator.ts index 02602e71fa4..592563f919d 100644 --- a/generators/javascript/javascript_generator.ts +++ b/generators/javascript/javascript_generator.ts @@ -251,7 +251,6 @@ export class JavascriptGenerator extends CodeGenerator { * @param code The JavaScript code created for this block. * @param thisOnly True to generate code for only this statement. * @returns JavaScript code with comments and subsequent blocks added. - * @protected */ scrub_(block: Block, code: string, thisOnly = false): string { let commentCode = ''; diff --git a/generators/python/python_generator.ts b/generators/python/python_generator.ts index 229c2022ccb..52825c7998b 100644 --- a/generators/python/python_generator.ts +++ b/generators/python/python_generator.ts @@ -276,7 +276,6 @@ export class PythonGenerator extends CodeGenerator { * @param code The Python code created for this block. * @param thisOnly True to generate code for only this statement. * @returns Python code with comments and subsequent blocks added. - */ scrub_(block: Block, code: string, thisOnly = false): string { let commentCode = '';