Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOS-React-2
QOS-React-2
/
compiler
/
packages
/
babel-plugin-react-compiler
/
src
/
__tests__
/
fixtures
/
compiler
/
const-propagation-phi-nodes.ts
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
ts
18 lines
239 Bytes
Copy permalink
Copy
Raw
1
function
useFoo
(
setOne
:
boolean
)
{
2
let
x
;
3
let
y
;
4
let
z
;
5
if
(
setOne
)
{
6
x
=
y
=
z
=
1
;
7
}
else
{
8
x
=
2
;
9
y
=
3
;
10
z
=
5
;
11
}
12
return
{
x
,
y
,
z
};
13
}
14
15
export
const
FIXTURE_ENTRYPOINT
=
{
16
fn
:
useFoo
,
17
params
:
[
true
],
18
};