comparison dwtx/jface/text/templates/TemplateTranslator.d @ 172:d994a8b2cdf7

again compile fixes
author Frank Benoit <benoit@tionex.de>
date Wed, 10 Sep 2008 23:14:02 +0200
parents 1a5b8f8129df
children
comparison
equal deleted inserted replaced
171:ee33f30b14e2 172:d994a8b2cdf7
133 void mergeType(TemplateVariableType type) { 133 void mergeType(TemplateVariableType type) {
134 if (type is null) 134 if (type is null)
135 return; 135 return;
136 if (fType is null) 136 if (fType is null)
137 fType= type; 137 fType= type;
138 if (!type.equals(fType)) 138 if (!type.opEquals(fType))
139 fail(TextTemplateMessages.getFormattedString("TemplateTranslator.error.incompatible.type", stringcast(fName))); //$NON-NLS-1$ 139 fail(TextTemplateMessages.getFormattedString("TemplateTranslator.error.incompatible.type", stringcast(fName))); //$NON-NLS-1$
140 } 140 }
141 } 141 }
142 142
143 /** Last translation error. */ 143 /** Last translation error. */