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.11.0~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=806836b8e2f100e290b592899aef153d5792f6cd;p=thirdparty%2Fvala.git CodeWriter: add 'new' to methods where appropriate --- diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala index 32521fc88..231262f68 100644 --- a/vala/valacodewriter.vala +++ b/vala/valacodewriter.vala @@ -1123,6 +1123,10 @@ public class Vala.CodeWriter : CodeVisitor { write_string ("override "); } + if (m.hides) { + write_string ("new "); + } + if (m.coroutine) { write_string ("async "); }