Commit accd1839 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #973 from kmod/unboxed_fix

Remove an old assert
parents 4818b5a4 eea94f33
......@@ -284,12 +284,6 @@ private:
arg_types.push_back(right);
CompilerType* rtn = attr_type->callType(ArgPassSpec(2), arg_types, NULL);
if (left == right && (left == INT || left == FLOAT)) {
ASSERT((rtn == left || rtn == UNKNOWN) && "not strictly required but probably something worth looking into",
"%s %s %s -> %s", left->debugName().c_str(), name->data(), right->debugName().c_str(),
rtn->debugName().c_str());
}
ASSERT(rtn != UNDEF, "need to implement the actual semantics here for %s.%s", left->debugName().c_str(),
name->c_str());
......
......@@ -9,6 +9,7 @@ for i in xrange(1, 12):
print i | j
print i & j
print i ^ j
print 1 | 2, 1 & 2, 1 & 2
print (2).__int__()
print (True).__int__()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment