clava 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,8 +36,8 @@ export function captureCreationFrame(
36
36
  // Engines without `Error.captureStackTrace` (SpiderMonkey, JavaScriptCore)
37
37
  // can't strip internal frames, but their `Error.stack` getter is still
38
38
  // lazy, so returning the Error instance defers the format cost. The
39
- // resulting trace includes 1–2 extra frames at the top from this helper and
40
- // `cv` itself.
39
+ // resulting trace includes extra frames from this helper, `buildComponent`,
40
+ // and `cv` itself.
41
41
  return new Error();
42
42
  }
43
43
 
@@ -68,6 +68,9 @@ export function formatCreationStack(frame: CreationFrame): string | undefined {
68
68
 
69
69
  function isInternalCreationFrame(line: string): boolean {
70
70
  if (line.includes("captureCreationFrame")) return true;
71
+ if (line.startsWith("at buildComponent ")) return true;
72
+ if (line.startsWith("at buildComponent(")) return true;
73
+ if (line.startsWith("buildComponent@")) return true;
71
74
  if (line.startsWith("at cv ")) return true;
72
75
  if (line.startsWith("at cv(")) return true;
73
76
  if (line.startsWith("cv@")) return true;