Changeset 379
- Timestamp:
- 02/12/10 01:55:03 (7 months ago)
- Files:
-
- branches/dmd-1.x/src/expression.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/dmd-1.x/src/expression.c
r370 r379 7348 7348 error("cannot cast from %s to %s", e1->type->toChars(), to->toChars()); 7349 7349 return new ErrorExp(); 7350 7350 } 7351 7351 } 7352 7352 } 7353 7354 if (!e1->type) 7355 { error("cannot cast %s", e1->toChars()); 7356 return new ErrorExp(); 7357 } 7358 7353 7359 e = e1->castTo(sc, to); 7354 7360 return e; 7355 7361 } 7356 7362 7357 7363 int CastExp::checkSideEffect(int flag)
