@samitouri / QOS-React-1 Mirror · read-only / commits / 19976d5f83
Fork 0

The library for web and native user interfaces.

Mirrored from https://github.com/247TaxiDriver/QOS-React.git

Synced Nov 14, 05:30 UTC

[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