diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-11-20 10:35:36 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-11-20 10:43:57 +0100 |
commit | a16275e1353a782d7f16c1abdedeb17d785ddaa9 (patch) | |
tree | 5de8fb3508160e5f814d94f0439e4a92399addf3 /vala | |
parent | fa09ca11b9467614bdca514acbbbe3baddfd7dfa (diff) | |
download | vala-a16275e1353a782d7f16c1abdedeb17d785ddaa9.tar.gz |
Actually use printf-like way of Report.*()
Diffstat (limited to 'vala')
-rw-r--r-- | vala/valaparser.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vala/valaparser.vala b/vala/valaparser.vala index 23b1e7db4..a5d338956 100644 --- a/vala/valaparser.vala +++ b/vala/valaparser.vala @@ -3046,19 +3046,19 @@ public class Vala.Parser : CodeVisitor { } if (old_cl != null && old_cl.is_partial) { if (cl.is_partial != old_cl.is_partial) { - Report.error (cl.source_reference, "conflicting partial and not partial declarations of `%s'".printf (cl.name)); + Report.error (cl.source_reference, "conflicting partial and not partial declarations of `%s'", cl.name); cl.error = true; } if (cl.access != old_cl.access) { - Report.error (cl.source_reference, "partial declarations of `%s' have conflicting accessiblity modifiers".printf (cl.name)); + Report.error (cl.source_reference, "partial declarations of `%s' have conflicting accessiblity modifiers", cl.name); cl.error = true; } if (cl.is_abstract != old_cl.is_abstract) { - Report.error (cl.source_reference, "partial declarations of `%s' have conflicting abstract modifiers".printf (cl.name)); + Report.error (cl.source_reference, "partial declarations of `%s' have conflicting abstract modifiers", cl.name); cl.error = true; } if (cl.is_sealed != old_cl.is_sealed) { - Report.error (cl.source_reference, "partial declarations of `%s' have conflicting sealed modifiers".printf (cl.name)); + Report.error (cl.source_reference, "partial declarations of `%s' have conflicting sealed modifiers", cl.name); cl.error = true; } if (cl.error) { |