Comments from #1484

This commit is contained in:
Joe Savona
2023-04-10 11:06:10 -07:00
parent 601eb2a23a
commit 67b0cf8a8c
@@ -97,7 +97,7 @@ export function inlineUseMemo(fn: HIRFunction): void {
if (body === undefined) {
CompilerError.invariant(
"Expected first argument to useMemo() to be a function expression",
fn.loc
lambda.loc
);
}
// We know this function is used for useMemo and can prune it later