summaryrefslogtreecommitdiff
path: root/vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-11-20 10:35:36 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-11-20 10:43:57 +0100
commita16275e1353a782d7f16c1abdedeb17d785ddaa9 (patch)
tree5de8fb3508160e5f814d94f0439e4a92399addf3 /vala
parentfa09ca11b9467614bdca514acbbbe3baddfd7dfa (diff)
downloadvala-a16275e1353a782d7f16c1abdedeb17d785ddaa9.tar.gz
Actually use printf-like way of Report.*()
Diffstat (limited to 'vala')
-rw-r--r--vala/valaparser.vala8
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) {