8 lines
No EOL
299 B
JavaScript
8 lines
No EOL
299 B
JavaScript
// props.a.b should be added as a unconditional dependency to the reactive
|
|
// scope that produces x, since it is accessed unconditionally in all cfg
|
|
// paths
|
|
|
|
function TestCondDepInConditionalExpr(props, other) {
|
|
const x = other |> foo(%) ? props.a.b |> bar(%) : props.a.b |> baz(%);
|
|
return x;
|
|
} |