Fix "unhandled exception occurs when a private variable increments"#5239
Fix "unhandled exception occurs when a private variable increments"#5239hvwyl wants to merge 4 commits intojerryscript-project:masterfrom
Conversation
|
Thank you! Could you add a test case? |
ok, i have added the test case for issue #5238 |
tests/jerry/private_fields.js
Outdated
| } | ||
| } | ||
| var var19 = new R(); | ||
| var19.test(); No newline at end of file |
a newline at the end of file |
|
Somehow these tests are crashing, e.g. FAIL (-6): tests/jerry/private_fields.js |
I checked the latest commit of branch. Files I noticed that the crushing dosen't occur in release version, and it only occurs in debug version. Then I compiled the debug version in vm. For input The real reason is that But The way to fix: Manually adjusting stack usage for private-field condition. However, for release version, assert will be disabled. So I didn't notice this crushing. In addition, I'm using a nickname on github. So I updated the comment in order to fit signed-off checking. Should I resubmit the pr? |
|
There is no need for a second pr. |
I noticed the Checks in Action #4395, it throw although I have updated the comment 2 days ago. I don't know if this can be ignored. Anyway, Win_x86-64_Tests-MINGW in Action #4395. There's also problem in |
462bedd to
80c6af2
Compare
|
I've organized the commits log and fixed all minor issues. Here's the latest GitHub Actions run in my fork: |
|
@zherczeg Hi, I've fixed all minor issues. Could you please take another look when you have a moment? Thanks! |
JerryScript-DCO-1.0-Signed-off-by: hvwyl [email protected]
JerryScript-DCO-1.0-Signed-off-by: hvwyl [email protected]
JerryScript-DCO-1.0-Signed-off-by: hvwyl [email protected]
80c6af2 to
75dd57d
Compare
|
@zherczeg Hello, I have added the sign-off line 'DCO-1.0-Signed-off-by' in my commits; maybe a new GitHub Action is needed. I am currently still a student. Owing to lack of project experience, I have made quite a few detours. I am really very sorry if I have disturbed you. Thanks for your support and understanding. |
JerryScript-DCO-1.0-Signed-off-by: hvwyl [email protected]
Fix "unhandled exception occurs when a private variable increments" #5238
Added handling for the condition of private variable incr/decr in
js-parser-expr.candvm.c.JerryScript-DCO-1.0-Signed-off-by: hvwyl [email protected]