[vala/0.46] codegen: ErrorType is not a Symbol



commit 99b3b8e5a8baa5b3430e3a716262b14dc8603224
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Oct 15 10:21:06 2019 +0200

    codegen: ErrorType is not a Symbol

 codegen/valaccodeattribute.vala | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala
index 00e61ae9a..b13d597de 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)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]