ILYONG CHO

Results comments of ILYONG CHO

@seanshpark Could you tell us why you disagree over using C++ template ?

Close as we had tentatively come to an agreement on using template from offline meeting. But we can roll back any time when it's clear that using template is inappropriate...

@zherczeg Right. Currently, native side of IoT.js checks invariants by using `IOTJS_ASSERT` macro that abort in debug mode but do nothing on release mode resulting segmentation fault in some cases....

@zherczeg Agree with you. Let me summarize what we have to count: - We are checking whether arguments are in expected range using `IOTJS_ASSERT()`. - `IOTJS_ASSERT()` aborts if given predicate...

@zherczeg On second thought, one of the problem is that, checking parameter's types and range in builtin native handler is done with `IOTJS_ASSERT()` which do nothing on release mode. We...

I belive this issue is fixed by 29af2f4ba49e549459fa1df58b47e6337e477cc3 Feel free to reopen if needed. Closing.

@ysdafa Thanks for pointing this out! This obviously is a bug. We'll fix this.

@wateret Can we close this?

@wateret Can we close this?