[vala] Allow derived compact classes with instance fields in bindings
- From: JÃrg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Allow derived compact classes with instance fields in bindings
- Date: Wed, 29 Jul 2009 11:39:02 +0000 (UTC)
commit aa2539fe150d61002a38e981fcd0cd2db82daabd
Author: Jürg Billeter <j bitron ch>
Date: Wed Jul 29 13:37:59 2009 +0200
Allow derived compact classes with instance fields in bindings
vala/valaclass.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index d2bb81c..0549131 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -1011,7 +1011,7 @@ public class Vala.Class : ObjectTypeSymbol {
}
}
- if (base_class != null) {
+ if (!external && !external_package && base_class != null) {
foreach (Field f in fields) {
if (f.binding == MemberBinding.INSTANCE) {
error = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]