Skip to content

Commit

Permalink
More try-catch fixes
Browse files Browse the repository at this point in the history
- Fix issue where `catch` body was incompletely transformed (see
#109)

- Fix issue where unreachable continuation generated an illegal
Identifer after try-catch (see
MatAtBread/fast-async#56)
  • Loading branch information
MatAtBread committed Apr 30, 2018
1 parent 6334ba3 commit 5fe05fa
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,11 @@ This execution case was pointed out by https://github.com/jods4 - many thanks.
Changelog
==========

30-Apr-18 v3.2.4

- Fix issue where `catch` body was incompletely transformed (see https://github.com/MatAtBread/nodent/issues/109)
- Fix issue where unreachable continuation generated an illegal Identifer after try-catch (see https://github.com/MatAtBread/fast-async/issues/56)

24-Apr-18 v3.2.2

- Fix the lifetime of let and const loop variable declarations (the previous implementation correctly limited the scope, but not the lifetime of the loop declarations, meaning they would be re-used if referenced in a callback)
Expand Down
26 changes: 12 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodent",
"version": "3.2.2",
"version": "3.2.4",
"description": "NoDent - Asynchronous Javascript language extensions",
"main": "nodent.js",
"scripts": {
Expand All @@ -13,7 +13,7 @@
"nodentjs": "./nodent.js"
},
"dependencies": {
"nodent-compiler": "^3.2.2",
"nodent-compiler": "^3.2.4",
"nodent-runtime": "^3.2.1",
"resolve": "^1.5.0"
},
Expand Down

0 comments on commit 5fe05fa

Please sign in to comment.