From: Daniel Espinosa Date: Wed, 29 Dec 2021 14:45:56 +0000 (-0600) Subject: CodeWriter: use instance context's report methods X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=179645795413c8e8c590a87f4ff47b26ec7ec3b5;p=thirdparty%2Fvala.git CodeWriter: use instance context's report methods Avoids use static Report methods --- diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala index cb3bd998d..ebbccc7fe 100644 --- a/vala/valacodewriter.vala +++ b/vala/valacodewriter.vala @@ -79,7 +79,7 @@ public class Vala.CodeWriter : CodeVisitor { } if (stream == null) { - Report.error (null, "unable to open `%s' for writing", filename); + context.report.log_error (null, "unable to open `%s' for writing", filename); return; }