Skip to content

Commit a2bae12

Browse files
panagosg7vmoroz
authored andcommitted
sync flow parser tests
Summary: ``` cp -r ~/fbsource/fbcode/flow/src/parser/test/flow/* ~/fbsource/xplat/hermes/external/flowtest/test/flow ``` Reviewed By: SamChou19815 Differential Revision: D67046460 fbshipit-source-id: 1393149070b25e3d635d50c906fb352d93cfe64c
1 parent 094bef4 commit a2bae12

254 files changed

Lines changed: 8618 additions & 337 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

external/flowtest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Flow git commit: a8f803e3d243c0f8a738f7ebd0ef534a6a5561fd7482f14cf4e96afa879ac3316a70bce06c432ccf
1+
Flow git commit: facff9ab9e7de99ddc93ce13b5f33518f7766a53

external/flowtest/test/flow/ES6/modules/migrated_0023.tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"range":[24,25],
9595
"name":"T",
9696
"bound":null,
97+
"const":false,
9798
"variance":null,
9899
"default":null
99100
}

external/flowtest/test/flow/ES6/modules/migrated_0024.tree.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"range":[23,25],
1919
"body":[]
2020
},
21-
"superClass":null,
2221
"typeParameters":{
2322
"type":"TypeParameterDeclaration",
2423
"loc":{"source":null,"start":{"line":1,"column":20},"end":{"line":1,"column":23}},
@@ -30,11 +29,13 @@
3029
"range":[21,22],
3130
"name":"T",
3231
"bound":null,
32+
"const":false,
3333
"variance":null,
3434
"default":null
3535
}
3636
]
3737
},
38+
"superClass":null,
3839
"superTypeParameters":null,
3940
"implements":[],
4041
"decorators":[]

external/flowtest/test/flow/arrow_function/migrated_0006.tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"range":[1,2],
8383
"name":"T",
8484
"bound":null,
85+
"const":false,
8586
"variance":null,
8687
"default":null
8788
}

external/flowtest/test/flow/async_arrow_functions/with_type_parameters.tree.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
"range":[17,18],
141141
"name":"T",
142142
"bound":null,
143+
"const":false,
143144
"variance":null,
144145
"default":null
145146
},
@@ -149,6 +150,7 @@
149150
"range":[20,21],
150151
"name":"R",
151152
"bound":null,
153+
"const":false,
152154
"variance":null,
153155
"default":null
154156
},
@@ -158,6 +160,7 @@
158160
"range":[23,24],
159161
"name":"S",
160162
"bound":null,
163+
"const":false,
161164
"variance":null,
162165
"default":null
163166
}

external/flowtest/test/flow/async_await/async_generic_method.tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"range":[9,10],
5353
"name":"T",
5454
"bound":null,
55+
"const":false,
5556
"variance":null,
5657
"default":null
5758
}

external/flowtest/test/flow/async_generators/migrated_0001.tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"range":[19,20],
6666
"name":"T",
6767
"bound":null,
68+
"const":false,
6869
"variance":null,
6970
"default":null
7071
}

external/flowtest/test/flow/async_generators/migrated_0003.tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"range":[20,21],
8888
"name":"T",
8989
"bound":null,
90+
"const":false,
9091
"variance":null,
9192
"default":null
9293
}

external/flowtest/test/flow/async_generators/migrated_0005.tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"range":[27,28],
8888
"name":"T",
8989
"bound":null,
90+
"const":false,
9091
"variance":null,
9192
"default":null
9293
}

external/flowtest/test/flow/async_generators/migrated_0007.tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"range":[25,26],
7676
"name":"T",
7777
"bound":null,
78+
"const":false,
7879
"variance":null,
7980
"default":null
8081
}

0 commit comments

Comments
 (0)