aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/xtext/UpdateService.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/xtext/UpdateService.ts')
-rw-r--r--subprojects/frontend/src/xtext/UpdateService.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/subprojects/frontend/src/xtext/UpdateService.ts b/subprojects/frontend/src/xtext/UpdateService.ts
index d1246d5e..70e79764 100644
--- a/subprojects/frontend/src/xtext/UpdateService.ts
+++ b/subprojects/frontend/src/xtext/UpdateService.ts
@@ -343,9 +343,9 @@ export default class UpdateService {
343 return { cancelled: false, data: parsedOccurrencesResult }; 343 return { cancelled: false, data: parsedOccurrencesResult };
344 } 344 }
345 345
346 async startModelGeneration(): Promise< 346 async startModelGeneration(
347 CancellableResult<ModelGenerationStartedResult> 347 randomSeed: number,
348 > { 348 ): Promise<CancellableResult<ModelGenerationStartedResult>> {
349 try { 349 try {
350 await this.updateOrThrow(); 350 await this.updateOrThrow();
351 } catch (error) { 351 } catch (error) {
@@ -360,6 +360,7 @@ export default class UpdateService {
360 serviceType: 'modelGeneration', 360 serviceType: 'modelGeneration',
361 requiredStateId: this.xtextStateId, 361 requiredStateId: this.xtextStateId,
362 start: true, 362 start: true,
363 randomSeed,
363 }); 364 });
364 if (isConflictResult(data)) { 365 if (isConflictResult(data)) {
365 return { cancelled: true }; 366 return { cancelled: true };