summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/eolian_mono/eolian/mono/function_definition.hh2
-rw-r--r--src/tests/efl_mono/Eo.cs13
2 files changed, 14 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/function_definition.hh b/src/bin/eolian_mono/eolian/mono/function_definition.hh
index 5a78bc735f..f89ac954cb 100644
--- a/src/bin/eolian_mono/eolian/mono/function_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/function_definition.hh
@@ -169,7 +169,7 @@ struct function_definition_generator
169 // inherited is set in the constructor, true if this instance is from a pure C# class (not generated). 169 // inherited is set in the constructor, true if this instance is from a pure C# class (not generated).
170 if (do_super && !f.is_static) 170 if (do_super && !f.is_static)
171 self = "(inherited ? Efl.Eo.Globals.efl_super(" + self + ", this.NativeClass) : " + self + ")"; 171 self = "(inherited ? Efl.Eo.Globals.efl_super(" + self + ", this.NativeClass) : " + self + ")";
172 else 172 else if (f.is_static)
173 self = name_helpers::klass_get_full_name(f.klass) + "()"; 173 self = name_helpers::klass_get_full_name(f.klass) + "()";
174 174
175 if(!as_generator 175 if(!as_generator
diff --git a/src/tests/efl_mono/Eo.cs b/src/tests/efl_mono/Eo.cs
index 37d4735b90..ed1d65a779 100644
--- a/src/tests/efl_mono/Eo.cs
+++ b/src/tests/efl_mono/Eo.cs
@@ -369,4 +369,17 @@ class TestConstructors
369 } 369 }
370} 370}
371 371
372class TestInterfaceConcrete
373{
374 // For T7619
375 public static void test_iface_concrete_methods()
376 {
377 var obj = new Dummy.TestObject();
378 Dummy.TestIface iface = Dummy.TestIfaceConcrete.static_cast(obj);
379
380 iface.IfaceProp = 1970;
381 Test.AssertEquals(iface.IfaceProp, 1970);
382 }
383}
384
372} 385}