From: Daniel Espinosa Date: Mon, 3 Jan 2022 00:59:01 +0000 (-0600) Subject: MethodCall: avoid static access to Report X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03c5ec07d0970e2542664055d94690d12624ed8;p=thirdparty%2Fvala.git MethodCall: avoid static access to Report --- diff --git a/vala/valamethodcall.vala b/vala/valamethodcall.vala index 9c3779a19..fd23288b7 100644 --- a/vala/valamethodcall.vala +++ b/vala/valamethodcall.vala @@ -364,7 +364,7 @@ public class Vala.MethodCall : Expression, CallableExpression { if (ma.member_name != "end") { // begin (possibly implicit) if (ma.member_name != "begin") { - Report.deprecated (ma.source_reference, "implicit .begin is deprecated"); + context.report.log_deprecated (ma.source_reference, "implicit .begin is deprecated"); } params = m.get_async_begin_parameters (); ret_type = new VoidType ();