]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codegen: ErrorType is not a Symbol
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 15 Oct 2019 08:21:06 +0000 (10:21 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 7 Nov 2019 10:52:20 +0000 (11:52 +0100)
codegen/valaccodeattribute.vala

index 48ae6c41e125f0c121346c0ac6b73e461995d893..c52ae5ffe2b06a8f49beee63155fae94da8775d8 100644 (file)
@@ -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)) {