685 B
685 B
Input
// @expectNothingCompiled @compilationMode:"infer"
function Component(props) {
const result = f(props);
function helper() {
return <foo />;
}
helper();
return result;
}
function f(props) {
return props;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};
Code
// @expectNothingCompiled @compilationMode:"infer"
function Component(props) {
const result = f(props);
function helper() {
return <foo />;
}
helper();
return result;
}
function f(props) {
return props;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};
Eval output
(kind: ok) {}