summaryrefslogtreecommitdiff
path: root/codegen
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-03-08 22:54:09 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-03-08 23:08:13 +0100
commit7b531ecae8ea51d680589845ba3df838eba185d0 (patch)
treeca964d6cc551a53b513753a7cec47a0b7554042c /codegen
parentf74da85c8bf8be9ff73e0eb18044f8b5f59cfdcf (diff)
downloadvala-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.vala4
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) {