diff options
Diffstat (limited to 'vala/valaunaryexpression.vala')
-rw-r--r-- | vala/valaunaryexpression.vala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vala/valaunaryexpression.vala b/vala/valaunaryexpression.vala index a97c0b204..76c31cd7a 100644 --- a/vala/valaunaryexpression.vala +++ b/vala/valaunaryexpression.vala @@ -162,7 +162,7 @@ public class Vala.UnaryExpression : Expression { if (inner.value_type is FieldPrototype || inner.value_type is PropertyPrototype) { error = true; - Report.error (inner.source_reference, "Access to instance member `%s' denied".printf (inner.symbol_reference.get_full_name ())); + Report.error (inner.source_reference, "Access to instance member `%s' denied", inner.symbol_reference.get_full_name ()); return false; } @@ -172,7 +172,7 @@ public class Vala.UnaryExpression : Expression { // integer or floating point type if (!is_numeric_type (inner.value_type)) { error = true; - Report.error (source_reference, "Operator not supported for `%s'".printf (inner.value_type.to_string ())); + Report.error (source_reference, "Operator not supported for `%s'", inner.value_type.to_string ()); return false; } @@ -182,7 +182,7 @@ public class Vala.UnaryExpression : Expression { // boolean type if (inner.value_type.nullable || !inner.value_type.compatible (context.analyzer.bool_type)) { error = true; - Report.error (source_reference, "Operator not supported for `%s'".printf (inner.value_type.to_string ())); + Report.error (source_reference, "Operator not supported for `%s'", inner.value_type.to_string ()); return false; } @@ -192,7 +192,7 @@ public class Vala.UnaryExpression : Expression { // integer type if (!is_integer_type (inner.value_type) && !(inner.value_type is EnumValueType)) { error = true; - Report.error (source_reference, "Operator not supported for `%s'".printf (inner.value_type.to_string ())); + Report.error (source_reference, "Operator not supported for `%s'", inner.value_type.to_string ()); return false; } @@ -203,7 +203,7 @@ public class Vala.UnaryExpression : Expression { // integer type if (!is_integer_type (inner.value_type)) { error = true; - Report.error (source_reference, "Operator not supported for `%s'".printf (inner.value_type.to_string ())); + Report.error (source_reference, "Operator not supported for `%s'", inner.value_type.to_string ()); return false; } |