Commit d7c1e845 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

ensure that new arrays own their elements, fixes bug 488326

2007-10-27  Juerg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: ensure that new arrays own their
	  elements, fixes bug 488326

svn path=/trunk/; revision=666
parent cc624575
2007-10-27 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: ensure that new arrays own their
elements, fixes bug 488326
2007-10-27 Jürg Billeter <j@bitron.ch>
Update svn:ignore property.
......
......@@ -1165,6 +1165,7 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
expr.static_type.takes_ownership = true;
expr.static_type.add_type_argument (expr.element_type);
expr.element_type.takes_ownership = true;
}
public override void visit_boolean_literal (BooleanLiteral! expr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment