Skip to content

Commit 2d79a3e

Browse files
author
ngoguey
authored
Lib: Rename msg method to message in Worker module (#1037)
* Fix the message method in Worker module * Update CHANGES.ml
1 parent 952cb05 commit 2d79a3e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Compiler: fix code generation for recursive function under for-loops (#1009)
1010
* Compiler: the jsoo compiler compiled to javascript was not behaving correctly
1111
when parsing constant in the from the bytecode
12+
* Lib: Rename msg to message in Worker (#1037)
1213

1314
# 3.6.0 (2020-04-26) - Lille
1415
## Features/Changes

lib/js_of_ocaml/worker.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ and errorEvent =
3838
object
3939
inherit event
4040

41-
method msg : js_string t readonly_prop
41+
method message : js_string t readonly_prop
4242

4343
method filename : js_string t readonly_prop
4444

lib/js_of_ocaml/worker.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ and errorEvent =
4646
object
4747
inherit event
4848

49-
method msg : js_string t readonly_prop
49+
method message : js_string t readonly_prop
5050

5151
method filename : js_string t readonly_prop
5252

0 commit comments

Comments
 (0)