From: Rico Tzschichholz Date: Thu, 7 Aug 2025 11:26:57 +0000 (+0200) Subject: Fix regression X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31929cd733872866d6406920162d2d6ad6cafd1c;p=thirdparty%2Fvala.git Fix regression --- diff --git a/vala/valaversionattribute.vala b/vala/valaversionattribute.vala index c7a63373b..30b6a6d5a 100644 --- a/vala/valaversionattribute.vala +++ b/vala/valaversionattribute.vala @@ -61,7 +61,7 @@ public class Vala.VersionAttribute { || symbol.has_attribute_argument ("Version", "replacement") // [Deprecated] is deprecated || symbol.has_attribute ("Deprecated"); - } else if (symbol.parent_symbol != null) { + } else if (symbol.parent_symbol is TypeSymbol) { _deprecated = symbol.parent_symbol.version.deprecated; } else { _deprecated = false;