From 09e3f53f31acf68f810d900c178f29cd1c4870f5 Mon Sep 17 00:00:00 2001 From: Gideon Koenig Date: Tue, 21 Jan 2025 21:59:51 +0100 Subject: [PATCH] fix: type issue --- .../src/language/graphical-editor/ast-parser/parser.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/safe-ds-lang/src/language/graphical-editor/ast-parser/parser.ts b/packages/safe-ds-lang/src/language/graphical-editor/ast-parser/parser.ts index 3a8a259dc..3e9372f5b 100644 --- a/packages/safe-ds-lang/src/language/graphical-editor/ast-parser/parser.ts +++ b/packages/safe-ds-lang/src/language/graphical-editor/ast-parser/parser.ts @@ -116,7 +116,9 @@ export class Parser { const pipeline = pipelines[0]!; const block = pipeline.body; const statementList: SdsStatement[] = block.statements; - statementList.forEach((statement) => Statement.parse(statement, this)); + statementList.forEach((statement) => { + Statement.parse(statement, this); + }); this.graph.uniquePath = this.getUniquePath(pipeline); this.graph.name = pipeline.name;