Skip to content

Commit 68300b6

Browse files
committed
update example
1 parent 133df30 commit 68300b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/corpus/expressions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ try switch foo() {
12731273
| Js.Exn.Error(obj) => "error"
12741274
}
12751275

1276-
try if true {
1276+
try for i in 0 to 10 {
12771277
call()
12781278
} catch {
12791279
| Not_found => false
@@ -1330,7 +1330,7 @@ try if true {
13301330

13311331
(expression_statement
13321332
(try_expression
1333-
(if_expression (true)
1333+
(for_expression (value_identifier) (number) (number)
13341334
(block
13351335
(expression_statement
13361336
(call_expression (value_identifier) (arguments)))))

0 commit comments

Comments
 (0)