We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checked revision: 77df022 Build: debug.linux
Ubuntu 14.04, x86_64
do { return null; } while (false);
ICE: Assertion 'ecma_is_completion_value_throw (completion)' failed at jerryscript/jerry-core/vm/vm.cpp(vm_run_global):400. Error: ERR_FAILED_INTERNAL_ASSERTION [Inferior 1 (process 18935) exited with code 0170] (gdb) bt #0 vm_run_global () at jerryscript/jerry-core/vm/vm.cpp:400 #1 0x00000000004bf487 in jerry_run () at jerryscript/jerry-core/jerry.cpp:1243 #2 0x00000000004bdab6 in main (argc=2, argv=0x7fffffffd908) at jerryscript/main-linux.cpp:248
The text was updated successfully, but these errors were encountered:
Add syntax check for return from global scope/eval.
e1a3944
Related issue: #129 JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin [email protected]
69fe619
Now I'm getting the following error:
return null; ^ ERROR: Ln 2, Col 5: Return is illegal
So I think it works correctly now.
Sorry, something went wrong.
Ok on master, closing.
./build/bin/debug.linux/jerry /tmp/aa.js return null; ^ ERROR: Ln 2, Col 5: Return is illegal
No branches or pull requests
Jerry version:
OS:
Test case:
Backtrace:
The text was updated successfully, but these errors were encountered: