]> 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>
Tue, 15 Oct 2019 10:49:26 +0000 (12:49 +0200)
codegen/valaccodeattribute.vala

index 3165702738b8dc4ff08d7a06d6121c3b0f5d2af2..aa3209703b65cd0e814829e25b7482d8cb987894 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)) {