Mercurial > projects > ldc
comparison dmd/cast.c @ 1133:eeb8b95ea92e
Cleanup DMD 1.041 merge.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Mon, 23 Mar 2009 20:26:33 +0100 |
parents | b30fe7e1dbb9 |
children | e961851fb8be |
comparison
equal
deleted
inserted
replaced
1132:76e72fdef04d | 1133:eeb8b95ea92e |
---|---|
53 */ | 53 */ |
54 ; | 54 ; |
55 } | 55 } |
56 else | 56 else |
57 { | 57 { |
58 warning("%s: implicit conversion of expression (%s) of type %s to %s can cause loss of data", | 58 warning("implicit conversion of expression (%s) of type %s to %s can cause loss of data", |
59 loc.toChars(), toChars(), type->toChars(), t->toChars()); | 59 toChars(), type->toChars(), t->toChars()); |
60 } | 60 } |
61 } | 61 } |
62 #if DMDV2 | 62 #if DMDV2 |
63 if (match == MATCHconst && t == type->constOf()) | 63 if (match == MATCHconst && t == type->constOf()) |
64 { | 64 { |