Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/passing/refs.ahrefs/attributes.ml.ref
Original file line number Diff line number Diff line change
Expand Up @@ -584,3 +584,5 @@ let _ =

let fold input ~init ~f =
foldi input ~init ~f:(fun (_ : int) acc x -> f acc x) [@nontail]

[@@@effect]
2 changes: 2 additions & 0 deletions test/passing/refs.default/attributes.ml.ref
Original file line number Diff line number Diff line change
Expand Up @@ -463,3 +463,5 @@ let _ =

let fold input ~init ~f =
foldi input ~init ~f:(fun (_ : int) acc x -> f acc x) [@nontail]

[@@@effect]
2 changes: 2 additions & 0 deletions test/passing/refs.janestreet/attributes.ml.ref
Original file line number Diff line number Diff line change
Expand Up @@ -535,3 +535,5 @@ let _ =
;;

let fold input ~init ~f = foldi input ~init ~f:(fun (_ : int) acc x -> f acc x) [@nontail]

[@@@effect]
2 changes: 2 additions & 0 deletions test/passing/refs.ocamlformat/attributes.ml.ref
Original file line number Diff line number Diff line change
Expand Up @@ -513,3 +513,5 @@ let _ =

let fold input ~init ~f =
foldi input ~init ~f:(fun (_ : int) acc x -> f acc x) [@nontail]

[@@@effect]
2 changes: 2 additions & 0 deletions test/passing/tests/attributes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -498,3 +498,5 @@ let _ = (begin[@a] x end [@b])

let fold input ~init ~f =
foldi input ~init ~f:(fun (_ : int) acc x -> f acc x) [@nontail]

[@@@effect]
1 change: 1 addition & 0 deletions vendor/parser-extended/parser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -4018,6 +4018,7 @@ single_attr_id:
| DO { "do" }
| DONE { "done" }
| DOWNTO { "downto" }
| EFFECT { "effect" }
| ELSE { "else" }
| END { "end" }
| EXCEPTION { "exception" }
Expand Down
1 change: 1 addition & 0 deletions vendor/parser-standard/parser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -4063,6 +4063,7 @@ single_attr_id:
| DO { "do" }
| DONE { "done" }
| DOWNTO { "downto" }
| EFFECT { "effect" }
| ELSE { "else" }
| END { "end" }
| EXCEPTION { "exception" }
Expand Down
Loading