1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// The core of JSX tests here verify the behavior of the following node types:
// jsx_element
// jsx_identifier
// jsx_attribute
// jsx_expression
// jsx_opening_element
// jsx_closing_element
// There is no real way to avoid testing all of these at once,
// and so we don't even try to.
let x = 1;
// Flow In
const el =;
// ^ defined: 11
// ^ defined: 11
const el2 =
// ^ defined: 11
// ^ defined: 11
// Flow Out
const el =;
/**/ y;
// ^ defined: 25
/**/ z;
// ^ defined: 26
// Flow Across
const el =;
// ^ defined: 37
const el =;
// ^ defined: 41
// Flow Around
/**/ x;
// ^ defined: 11