From: Ryan Lortie Date: Sat, 11 Sep 2010 16:16:37 +0000 (-0400) Subject: CodeWriter: add 'new' to methods where appropriate X-Git-Tag: 0.10.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e2fc917ac9ebd81f00e8f8873c32a28a5daa601;p=thirdparty%2Fvala.git CodeWriter: add 'new' to methods where appropriate --- diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala index a1cda9724..f84409b57 100644 --- a/vala/valacodewriter.vala +++ b/vala/valacodewriter.vala @@ -1067,6 +1067,10 @@ public class Vala.CodeWriter : CodeVisitor { write_string ("override "); } + if (m.hides) { + write_string ("new "); + } + if (m.coroutine) { write_string ("async "); }