summaryrefslogtreecommitdiff
path: root/vala/valasymbolresolver.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2012-08-03 09:38:11 +0200
committerJürg Billeter <j@bitron.ch>2012-08-06 13:19:26 +0200
commit5ea6dc05d62c71ba4e633f70b86e4dd0a5e9c089 (patch)
treeca4d1a4dfb85ceab88339dbc15e165d2f5c564bc /vala/valasymbolresolver.vala
parent6a6a2cf59b7302b0b3b111c6a0c879c00d36ddce (diff)
downloadvala-5ea6dc05d62c71ba4e633f70b86e4dd0a5e9c089.tar.gz
Drop Dova profile
Diffstat (limited to 'vala/valasymbolresolver.vala')
-rw-r--r--vala/valasymbolresolver.vala32
1 files changed, 0 insertions, 32 deletions
diff --git a/vala/valasymbolresolver.vala b/vala/valasymbolresolver.vala
index f11d74ee6..a269df453 100644
--- a/vala/valasymbolresolver.vala
+++ b/vala/valasymbolresolver.vala
@@ -75,18 +75,6 @@ public class Vala.SymbolResolver : CodeVisitor {
}
}
- if (context.profile == Profile.DOVA) {
- // classes derive from Object by default
- if (cl.base_class == null) {
- var any_class = (Class) root_symbol.scope.lookup ("any");
- if (cl != any_class) {
- var object_class = (Class) root_symbol.scope.lookup ("Dova").scope.lookup ("Object");
- cl.add_base_type (new ObjectType (object_class));
- cl.base_class = object_class;
- }
- }
- }
-
current_scope = current_scope.parent_scope;
}
@@ -122,14 +110,6 @@ public class Vala.SymbolResolver : CodeVisitor {
}
}
- if (context.profile == Profile.DOVA) {
- // all interfaces require Object
- if (iface.get_prerequisites ().size == 0) {
- var object_class = (Class) root_symbol.scope.lookup ("Dova").scope.lookup ("Object");
- iface.add_prerequisite (new ObjectType (object_class));
- }
- }
-
current_scope = current_scope.parent_scope;
}
@@ -483,18 +463,6 @@ public class Vala.SymbolResolver : CodeVisitor {
tmpl.accept_children (this);
}
- public override void visit_list_literal (ListLiteral lit) {
- lit.accept_children (this);
- }
-
- public override void visit_set_literal (SetLiteral lit) {
- lit.accept_children (this);
- }
-
- public override void visit_map_literal (MapLiteral lit) {
- lit.accept_children (this);
- }
-
public override void visit_tuple (Tuple tuple) {
tuple.accept_children (this);
}