diff options
Diffstat (limited to 'vala/valaelementaccess.vala')
-rw-r--r-- | vala/valaelementaccess.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valaelementaccess.vala b/vala/valaelementaccess.vala index 45b02ecdb..d866d2f0b 100644 --- a/vala/valaelementaccess.vala +++ b/vala/valaelementaccess.vala @@ -198,10 +198,10 @@ public class Vala.ElementAccess : Expression { if (array_type.rank < get_indices ().size) { error = true; - Report.error (source_reference, "%d extra indices for element access".printf (get_indices ().size - array_type.rank)); + Report.error (source_reference, "%d extra indices for element access", get_indices ().size - array_type.rank); } else if (array_type.rank > get_indices ().size) { error = true; - Report.error (source_reference, "%d missing indices for element access".printf (array_type.rank - get_indices ().size)); + Report.error (source_reference, "%d missing indices for element access", array_type.rank - get_indices ().size); } } else if (pointer_type != null && !pointer_type.base_type.is_reference_type_or_type_parameter ()) { value_type = pointer_type.base_type.copy (); @@ -232,7 +232,7 @@ public class Vala.ElementAccess : Expression { } error = true; - Report.error (source_reference, "The expression `%s' does not denote an array".printf (container.value_type.to_string ())); + Report.error (source_reference, "The expression `%s' does not denote an array", container.value_type.to_string ()); return false; } |