You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consterrorMessage='Synthesis has been called multiple times and the construct tree was modified after the first synthesis.';
235
+
if(options.errorOnDuplicateSynth??true){
236
+
thrownewError(errorMessage+' This is not allowed. Remove multple synth() calls and do not modify the construct tree after the first synth().');
237
+
}else{
238
+
// eslint-disable-next-line no-console
239
+
console.error(errorMessage+' Only the results of the first synth() call are used, and modifications done after it are ignored. Avoid construct tree mutations after synth() has been called unless this is intentional.');
240
+
}
241
+
}
242
+
243
+
// Reset construct paths cache
244
+
this.constructPathsCache=newConstructPaths;
245
+
220
246
returnthis.assembly;
221
247
}
222
248
249
+
// Function that lists all construct paths and returns them as a set
0 commit comments