bugQtLua script engine for Qt - Bugs: bug #36370, Bitwise OR instead of logical.


bug #36370: Bitwise OR instead of logical.

Submitted by:  Sergey <z80>
Submitted on:  Wed 02 May 2012 12:37:59 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 28 May 2012 05:01:07 PM UTC, comment #1:

Fixed, thanks for reporting.

Alexandre Becoulet <diaxen>
Project Administrator
Wed 02 May 2012 12:37:59 PM UTC, original submission:

It seems to me there is an error in line 98 of file qluaproxydispatch.cc. IMHO there should be bitwize OR but not a logical one.

bool DispatchProxy::meta_contains(State &ls, const Value &key)
foreach (const TargetBase *t, _targets)
if ((t->_ops & (Value::OpIndex | Value::OpNewindex)) &&
(t->_support(Value::OpIndex) || t->_support(Value::OpNewindex)) &&
t->_meta_contains(ls, key))
return true;

return false;

Sergey <z80>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by diaxen (Posted a comment)
  • -unavailable- added by z80 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 May 2012 05:01:07 PM UTCdiaxenStatusNone=>Fixed

    Back to the top

    Powered by Savane 3.1-cleanup1