@@ -2,16 +2,16 @@ let {a} = x
2
2
let {a } as p = x
3
3
let {a ,} = x // trailing comma
4
4
let {a , b } = x
5
- let {a as p1 , b as p2 } = x
5
+ let {a : p1 , b : p2 } = x
6
6
let {a , b ,} = x // trailing comma
7
7
let {ReasonReact .state } = x
8
8
let {ReasonReact .state : state as prevState } = x
9
- let {ReasonReact .state as theState } = x
9
+ let {ReasonReact .state : theState } = x
10
10
let {a : u } = x
11
11
let {a : (u : int )} = x
12
12
let {a : (u as p : int )} = x
13
13
let {a : {x , y }} = x
14
- let {a : {x as p1 , y as p2 }} = x
14
+ let {a : {x : p1 , y : p2 }} = x
15
15
let {a , _ } = x
16
16
let {a , _ , } = x
17
17
let ({a } : myRecord ) = x
@@ -24,12 +24,12 @@ switch x {
24
24
| {a , b ,} => () // trailing comma
25
25
| {ReasonReact .state } => ()
26
26
| {ReasonReact .state : state as prevState } => ()
27
- | {ReasonReact .state as theState } => ()
27
+ | {ReasonReact .state : theState } => ()
28
28
| {a : u } => ()
29
29
| {a : (u : int )} => ()
30
30
| {a : (u as p : int ) as p2 } as p3 => ()
31
31
| {a : {x , y }} => ()
32
- | {a : {x as p1 , y as p2 } as p3 } => ()
32
+ | {a : {x : p1 , y : p2 } as p3 } => ()
33
33
| {a , _ } => ()
34
34
| {a , _ , } => ()
35
35
| ({a } : myRecord ) => ()
@@ -42,12 +42,12 @@ let f = ({a, b}) => ()
42
42
let f = ({a , b ,}) => () // trailing comma
43
43
let f = ({ReasonReact .state }) => ()
44
44
let f = ({ReasonReact .state : state as prevState }) => ()
45
- let f = ({ReasonReact .state as theState }) => ()
45
+ let f = ({ReasonReact .state : theState }) => ()
46
46
let f = ({a : u }) => ()
47
47
let f = ({a : (u : int )}) => ()
48
48
let f = ({a : (u as x : int ) as r }) => ()
49
49
let f = ({a : {x , y }}) => ()
50
- let f = ({a : {x as r , y as r2 }}) => ()
50
+ let f = ({a : {x : r , y : r2 }}) => ()
51
51
let f = ({a , _ }) => ()
52
52
let f = ({a , _ ,}) => ()
53
53
let f = ({a }: myRecord ) => ()
@@ -69,9 +69,9 @@ for (({ReasonReact.state}) in 0 to 10) { () }
69
69
for {ReasonReact .state : state as prevState } in 0 to 10 { () }
70
70
for ({ReasonReact .state : state as prevState } in 0 to 10 ) { () }
71
71
for (({ReasonReact .state : state as prevState }) in 0 to 10 ) { () }
72
- for {ReasonReact .state as theState } in 0 to 10 { () }
73
- for ({ReasonReact .state as theState } in 0 to 10 ) { () }
74
- for (({ReasonReact .state as theState }) in 0 to 10 ) { () }
72
+ for {ReasonReact .state : theState } in 0 to 10 { () }
73
+ for ({ReasonReact .state : theState } in 0 to 10 ) { () }
74
+ for (({ReasonReact .state : theState }) in 0 to 10 ) { () }
75
75
for {a : u } in 0 to 10 { () }
76
76
for (({a : u }) in 0 to 10 ) { () }
77
77
for ({a : u } in 0 to 10 ) { () }
@@ -80,7 +80,7 @@ for {a: (u as sp: int) as p} in 0 to 10 { () }
80
80
for (({a : (u : int )}) in 0 to 10 ) { () }
81
81
for ({a : (u : int )} in 0 to 10 ) { () }
82
82
for {a : {x , y }} in 0 to 10 { () }
83
- for {a : {x as p1 , y as p2 } as p3 } in 0 to 10 { () }
83
+ for {a : {x : p1 , y : p2 } as p3 } in 0 to 10 { () }
84
84
for (({a : {x , y }}) in 0 to 10 ) { () }
85
85
for (({a : {x , y }} as p ) as p2 in 0 to 10 ) { () }
86
86
for ({a : {x , y }} in 0 to 10 ) { () }
0 commit comments