We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828c76d commit d363b10Copy full SHA for d363b10
src/editor/extended_python_generator.ts
@@ -167,7 +167,11 @@ export class ExtendedPythonGenerator extends PythonGenerator {
167
}
168
this.classMethods = Object.create(null);
169
this.ports = Object.create(null);
170
- code = annotations + classDef + this.prefixLines(classMethods.join('\n\n'), this.INDENT);
+ code = classDef + this.prefixLines(classMethods.join('\n\n'), this.INDENT);
171
+ if(annotations){
172
+ code = annotations + code;
173
+ }
174
+ this.details = null;
175
176
this.context.setExportedBlocks(this.produceExportedBlocks(this.workspace));
177
0 commit comments