summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/klass.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-07-11 16:06:17 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-11 16:06:32 +0200
commit7e9eac9fb1c81f64fbd3049c5232ef4c6a059b8a (patch)
treef61d09abfe58fcae8f5d59d91b1d6ba7fec05030 /src/bin/eolian_mono/eolian/mono/klass.hh
parent3798356819bfede4d6c1d128da06fb8bc9a92de8 (diff)
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
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/klass.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index 831f48d..99dac21 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
115 for(auto first = std::begin(cls.immediate_inherits) 115 for(auto first = std::begin(cls.immediate_inherits)
116 , last = std::end(cls.immediate_inherits); first != last; ++first) 116 , last = std::end(cls.immediate_inherits); first != last; ++first)
117 { 117 {
118 if (!context_find_tag<options_context>(iface_cxt).want_beta && first->is_beta)
119 continue;
120
118 if(first->type != attributes::class_type::regular && first->type != attributes::class_type::abstract_) 121 if(first->type != attributes::class_type::regular && first->type != attributes::class_type::abstract_)
119 if(!as_generator("\n" << scope_tab << string << " ,").generate(sink, name_helpers::klass_full_interface_name(*first), iface_cxt)) 122 if(!as_generator("\n" << scope_tab << string << " ,").generate(sink, name_helpers::klass_full_interface_name(*first), iface_cxt))
120 return false; 123 return false;