Skip to content

Commit 6931a1d

Browse files
authored
Merge pull request rescript-lang#874 from bloomberg/rename
rename ffi into accessors
2 parents b7636d7 + 5430214 commit 6931a1d

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

jscomp/bin/bsdep.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26950,7 +26950,7 @@ open Ast_helper
2695026950

2695126951
let init () =
2695226952
Ast_derive.update
26953-
"ffi"
26953+
"accessors"
2695426954
begin fun (x : Parsetree.expression option) ->
2695526955
match x with
2695626956
| Some {pexp_loc = loc}

jscomp/bin/bsppx.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6856,7 +6856,7 @@ open Ast_helper
68566856

68576857
let init () =
68586858
Ast_derive.update
6859-
"ffi"
6859+
"accessors"
68606860
begin fun (x : Parsetree.expression option) ->
68616861
match x with
68626862
| Some {pexp_loc = loc}

jscomp/bin/compiler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30758,7 +30758,7 @@ open Ast_helper
3075830758

3075930759
let init () =
3076030760
Ast_derive.update
30761-
"ffi"
30761+
"accessors"
3076230762
begin fun (x : Parsetree.expression option) ->
3076330763
match x with
3076430764
| Some {pexp_loc = loc}

jscomp/bin/whole_compiler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91777,7 +91777,7 @@ open Ast_helper
9177791777

9177891778
let init () =
9177991779
Ast_derive.update
91780-
"ffi"
91780+
"accessors"
9178191781
begin fun (x : Parsetree.expression option) ->
9178291782
match x with
9178391783
| Some {pexp_loc = loc}

jscomp/syntax/ast_derive_projector.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ open Ast_helper
33

44
let init () =
55
Ast_derive.update
6-
"ffi"
6+
"accessors"
77
begin fun (x : Parsetree.expression option) ->
88
match x with
99
| Some {pexp_loc = loc}

jscomp/test/derive_projector_test.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22
type a =
33
{ u_x : int}
4-
[@@bs.deriving { ffi }]
4+
[@@bs.deriving { accessors }]
55

66
type 'a b = {
77
b_x : int
88
}
99
and 'a c = {
1010
c_x : int
1111
}
12-
[@@bs.deriving {ffi}]
12+
[@@bs.deriving {accessors}]
1313

1414
type d =
1515
| D_empty
@@ -23,7 +23,7 @@ and u =
2323
and h = {d : d ; h : h list; u_X : int}
2424
and e = { d : d }
2525

26-
[@@bs.deriving {ffi}]
26+
[@@bs.deriving {accessors}]
2727

2828

2929

jscomp/test/derive_projector_test.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22
type a =
33
{ u_x : int}
4-
[@@bs.deriving { ffi }]
4+
[@@bs.deriving { accessors }]
55

66
type 'a b = {
77
b_x : int
88
}
99
and 'a c = {
1010
c_x : int
1111
}
12-
[@@bs.deriving {ffi}]
12+
[@@bs.deriving {accessors}]
1313

1414
type d =
1515
| D_empty
@@ -24,7 +24,7 @@ and h = {d : d ; h : h list; u_X : int}
2424

2525

2626
and e = { d : d }
27-
[@@bs.deriving {ffi}]
27+
[@@bs.deriving {accessors}]
2828

2929

3030
val v : d

0 commit comments

Comments
 (0)