Changeset 378
- Timestamp:
- 02/12/10 01:54:07 (7 months ago)
- Files:
-
- trunk/src/expression.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/expression.c
r375 r378 7756 7756 else if (!to) 7757 7757 { error("cannot cast tuple"); 7758 7758 to = Type::terror; 7759 7759 } 7760 7760 7761 if (!e1->type) 7762 { error("cannot cast %s", e1->toChars()); 7763 return new ErrorExp(); 7764 } 7765 7761 7766 #if 1 7762 7767 if (sc->func && sc->func->isSafe() && !sc->intypeof) 7763 7768 #else 7764 7769 if (global.params.safe && !sc->module->safe && !sc->intypeof) 7765 7770 #endif
