xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7e9eac9fb1c81f64fbd3049c5232ef4c6a059b8a

commit 7e9eac9fb1c81f64fbd3049c5232ef4c6a059b8a
Author: Lauro Moura <[email protected]>
Date:   Thu Jul 11 16:06:17 2019 +0200

    csharp: Skip beta interfaces from the list of interfaces.
    
    Summary:
    Interfaces were declaring Beta parent interfaces instead of skipping
    them.
    
    Reviewers: segfaultxavi
    
    Reviewed By: segfaultxavi
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9282
---
 src/bin/eolian_mono/eolian/mono/klass.hh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh 
b/src/bin/eolian_mono/eolian/mono/klass.hh
index 831f48d85b..99dac21123 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -115,6 +115,9 @@ struct klass
        for(auto first = std::begin(cls.immediate_inherits)
              , last = std::end(cls.immediate_inherits); first != last; ++first)
          {
+            if (!context_find_tag<options_context>(iface_cxt).want_beta && 
first->is_beta)
+              continue;
+
             if(first->type != attributes::class_type::regular && first->type 
!= attributes::class_type::abstract_)
               if(!as_generator("\n" << scope_tab << string << " 
,").generate(sink, name_helpers::klass_full_interface_name(*first), iface_cxt))
                 return false;

-- 


Reply via email to