diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-03-08 22:54:09 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-03-08 23:08:13 +0100 |
commit | 7b531ecae8ea51d680589845ba3df838eba185d0 (patch) | |
tree | ca964d6cc551a53b513753a7cec47a0b7554042c /codegen | |
parent | f74da85c8bf8be9ff73e0eb18044f8b5f59cfdcf (diff) | |
download | vala-7b531ecae8ea51d680589845ba3df838eba185d0.tar.gz |
codegen: Drop confusing warning when accessing interface members
Making assumptions for member access using the current class is not correct.
Introduced by 0aace7bd6d3ec72e77f4eabbb7d5fffd3b2e86a8
Diffstat (limited to 'codegen')
-rw-r--r-- | codegen/valaccodebasemodule.vala | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala index 65a6df560..50dbbea8f 100644 --- a/codegen/valaccodebasemodule.vala +++ b/codegen/valaccodebasemodule.vala @@ -2652,10 +2652,6 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator { return new CCodeIdentifier ("%s_%s_parent_iface".printf (get_ccode_lower_case_name (cl), get_ccode_lower_case_name (iface))); } - if (cl != null && !cl.is_a (iface)) { - Report.warning (cl.source_reference, "internal: `%s' is not a `%s'", cl.get_full_name (), iface.get_full_name ()); - } - CCodeExpression cast; CCodeFunctionCall call; if (instance != null) { |