[vala/staging] codewriter: Don't write trailing "; " after body of WithStatement
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] codewriter: Don't write trailing "; " after body of WithStatement
- Date: Tue, 16 Feb 2021 09:33:55 +0000 (UTC)
commit 296d44dd435a1b4f023ea3909589e40568d5b1c7
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Feb 16 10:33:06 2021 +0100
codewriter: Don't write trailing ";" after body of WithStatement
vala/valacodewriter.vala | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index 8c2df4db6..2b9e19030 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -1172,7 +1172,6 @@ public class Vala.CodeWriter : CodeVisitor {
stmt.expression.accept (this);
write_string (")");
stmt.body.accept (this);
- write_string (";");
write_newline ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]