Re: [v8-users] BooleanObject::New(false) always returns true

2013-07-29 Thread Sven Panne
Hmmm, this doesn't look right. There seems to be some API nonsense/bug, investigating... -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups v8-users group. To unsubscribe

Re: [v8-users] BooleanObject::New(false) always returns true

2013-07-29 Thread Sven Panne
On Mon, Jul 29, 2013 at 9:41 AM, Sven Panne svenpa...@chromium.org wrote: Hmmm, this doesn't look right. There seems to be some API nonsense/bug, investigating... Actually things are correct, but very perplexing. Consider the following session in d8:

[v8-users] BooleanObject::New(false) always returns true

2013-07-28 Thread ioannis
I was wandering why the following BooleanValue() statements always return true, shouldn't the first one return false ? Also why both IsTrue() and IsFalse() return false in the statements below ? Is there a bug or am i missing something here ? bool test0 =