From: Rico Tzschichholz Date: Tue, 15 Oct 2019 08:21:06 +0000 (+0200) Subject: codegen: ErrorType is not a Symbol X-Git-Tag: 0.47.1~87 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d392d3ddbb4eeca9f98ab9b4749a9837dd9d6de0;p=thirdparty%2Fvala.git codegen: ErrorType is not a Symbol --- diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala index 316570273..aa3209703 100644 --- a/codegen/valaccodeattribute.vala +++ b/codegen/valaccodeattribute.vala @@ -983,8 +983,6 @@ public class Vala.CCodeAttribute : AttributeCache { if (sym != null) { if (sym is Class && !((Class) sym).is_compact || sym is Interface) { return get_ccode_upper_case_name (sym, "TYPE_"); - } else if (sym is ErrorType) { - return "G_TYPE_ERROR"; } else if (sym is Struct) { unowned Struct st = (Struct) sym; if (!get_ccode_has_type_id (st)) {