Skip to content

Commit a86f53f

Browse files
authored
Merge pull request #2173 from tiensonqin/defintion-typo
Fix typo defintion -> definition
2 parents 8efba08 + 4b6597b commit a86f53f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jscomp/core/lam_compile_context.mli

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131

32-
(** Type defintion to keep track of compilation state
32+
(** Type definition to keep track of compilation state
3333
*)
3434

3535
(** Some types are defined in this module to help avoiding generating unnecessary symbols

jscomp/syntax/ast_external_attributes.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ let handle_attributes
422422
if has_bs_uncurry type_annotation.Parsetree.ptyp_attributes then
423423
begin
424424
Location.raise_errorf
425-
~loc "[@@bs.uncurry] can not be applied to the whole defintion"
425+
~loc "[@@bs.uncurry] can not be applied to the whole definition"
426426
end;
427427

428428
let prim_name_or_pval_prim =

jscomp/test/ocaml_proto_test.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4034,7 +4034,7 @@ Pbtt
40344034

40354035
(** scope of the field type when the field is a message type.
40364036
4037-
For instance in the following field defintion:
4037+
For instance in the following field definition:
40384038
40394039
[required foo.bar.Msg1 f = 1]
40404040

0 commit comments

Comments
 (0)