Changeset 1818 for cobra/trunk/Source/BinaryOpExpr.cobra
- Timestamp:
- 12/08/08 07:29:18 (3 years ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/BinaryOpExpr.cobra (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/BinaryOpExpr.cobra
r1768 r1818 342 342 else if _left.isKindOf(tpassthrough) or _right.isKindOf(tpassthrough) 343 343 _type = tpassthrough 344 else if leftType == rightType and leftType inherits EnumDecl 345 _type = leftType 344 346 else if cannotMix 345 347 .throwError('Cannot mix types [_left.type.name] and [_right.type.name] for arithmetic.')



