[ez] Real location for function context values
Joe Savona committed
Jun 16, 2023 at 14:42 UTC
19976d5f8336095250309200222e4850ace73d2f
1 file changed
+1
-1
compiler/forget/packages/babel-plugin-react-forget/src/HIR/BuildHIR.ts
+1
-1
@@ -70,7 +70,7 @@ export function lower(
70
kind: "Identifier",
71
identifier: builder.resolveBinding(ref),
72
effect: Effect.Unknown,
73
- loc: GeneratedSource,
73
+ loc: ref.loc ?? GeneratedSource,
74
});
75
}
76