Changeset 2310 for cobra/trunk/Source/BinaryOpExpr.cobra
- Timestamp:
- 03/11/10 09:47:16 (2 years ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/BinaryOpExpr.cobra (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/BinaryOpExpr.cobra
r2304 r2310 782 782 else if not _canContain(.right.type to !, .left.type to !) 783 783 .recordError('The left expression ([.left.toCobraSource]) cannot be "in" the right-hand expression because the left type is "[.left.type.name]" and the right-hand expression contains type "[.right.type.innerType.name]".') 784 else if _right.type inherits ArrayType 785 pass 784 786 else if not _right.type.isDynamic 785 787 # try to use right.contains(left)



