error output fix

This commit is contained in:
Dima Granetchi
2014-11-13 22:26:29 +02:00
parent 99dc19c2d3
commit 17aec40ae1
+2 -2
View File
@@ -73,12 +73,12 @@ class Bind {
var field:ClassField = classType.findField(field, null);
if (field == null) {
Context.error('\'${e.toString()}.$field\' expected', field.pos);
Context.error('\'${e.toString()}.${field.name}\' expected', field.pos);
return null;
}
if (!field.hasBindableMeta()) {
Context.error('\'${e.toString()}.$field\' is not bindable', field.pos);
Context.error('\'${e.toString()}.${field.name}\' is not bindable', field.pos);
return null;
}