Skip to content

Commit

Permalink
Merge pull request #2146 from svaarala/fix-gh2023
Browse files Browse the repository at this point in the history
Array handling improvements, fix GH-2023
  • Loading branch information
svaarala committed Jul 16, 2019
2 parents 5b40e9b + 76ec737 commit 1de2be9
Show file tree
Hide file tree
Showing 8 changed files with 338 additions and 142 deletions.
9 changes: 7 additions & 2 deletions RELEASES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3459,6 +3459,11 @@ Planned
* Add --no-auto-complete option to 'duk' to disable linenoise auto
completion (GH-2131)

* Add support for keeping an array's internal array part in
Object.defineProperty(), previously the array part was always
abandoned if an array index was defined using Object.defineProperty()
(even if property attributes were correct) (GH-2146)

* Fix incorrect parsing of post-increment/post-decrement followed by
division (e.g. "z++ / 20"), the slash was interpreted as beginning
a regexp (GH-2140)
Expand Down Expand Up @@ -3490,8 +3495,8 @@ Planned
backstop when call handling triggers a Proxy trap (GH-2032, GH-2108)

* Fix several assertion failures with possible memory unsafe behavior
(GH-2022, GH-2024, GH-2025, GH-2026, GH-2031, GH-2033, GH-2035, GH-2036,
GH-2065, GH-2115, GH-2138)
(GH-2022, GH-2023, GH-2024, GH-2025, GH-2026, GH-2031, GH-2033, GH-2035,
GH-2036, GH-2065, GH-2115, GH-2138, GH-2146)

* Fix incorrect assertion with no underlying bug for resolving bound
function chains with a Proxy object (rather than a plain function)
Expand Down
2 changes: 1 addition & 1 deletion examples/cmdline/duk_cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ static duk_ret_t wrapped_compile_execute(duk_context *ctx, void *udata) {
memcpy(buf, (const void *) src_data, src_len);
duk_load_function(ctx);
} else {
duk_type_error(ctx, "bytecode input rejected (use -b to allow bytecode inputs)");
(void) duk_type_error(ctx, "bytecode input rejected (use -b to allow bytecode inputs)");
}
} else {
/* Source code. */
Expand Down
Loading

0 comments on commit 1de2be9

Please sign in to comment.