comparison basic/Messages.d @ 183:8ea749b7da91

Fixed a few errors so that two more tests passes. Also, now you only need a type in a function param.
author Anders Johnsen <skabet@gmail.com>
date Fri, 25 Jul 2008 10:59:16 +0200
parents 2a1a635bd531
children 75d0544ddc45
comparison
equal deleted inserted replaced
182:4e703658eca0 183:8ea749b7da91
41 NoConstructor, 41 NoConstructor,
42 NoMachingCon, 42 NoMachingCon,
43 CandidateNr, 43 CandidateNr,
44 NoMethodByName, 44 NoMethodByName,
45 NoMachingMethod, 45 NoMachingMethod,
46 CannotReassignSArray,
47 CanOnlyDerefPointers,
46 48
47 // Strings 49 // Strings
48 InvalidStrPrefix, 50 InvalidStrPrefix,
49 InvalidStrEscape, 51 InvalidStrEscape,
50 InvalidUtf8Hex, 52 InvalidUtf8Hex,
122 : E(Err, "Switch statements can't have multiple defaults"), 124 : E(Err, "Switch statements can't have multiple defaults"),
123 OverlappingCases 125 OverlappingCases
124 : E(Err, "Can't have multiple cases with the same value." 126 : E(Err, "Can't have multiple cases with the same value."
125 " Values appearing in multiple cases: %0"), 127 " Values appearing in multiple cases: %0"),
126 InvalidCaseValue : E(Err, "Case values must be integers"), 128 InvalidCaseValue : E(Err, "Case values must be integers"),
129 CannotReassignSArray: E(Err, "Cannot reassign static arrays"),
130 CanOnlyDerefPointers: E(Err, "Can only deref pointers, not '%0'"),
127 131
128 // literals 132 // literals
129 InvalidStrPrefix : E(Err, "Invalid string literal prefix"), 133 InvalidStrPrefix : E(Err, "Invalid string literal prefix"),
130 InvalidStrEscape : E(Err, "Invalid escape sequence"), 134 InvalidStrEscape : E(Err, "Invalid escape sequence"),
131 InvalidUtf8Hex : E(Err, "Invalid Utf8 hex char"), 135 InvalidUtf8Hex : E(Err, "Invalid Utf8 hex char"),