Commit 35b9fdd8 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

fix warning when defining abstract properties

2007-07-30  Juerg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: fix warning when defining abstract
	  properties

svn path=/trunk/; revision=413
parent 6b4e24a5
2007-07-30 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix warning when defining abstract
properties
2007-07-29 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valacodegenerator.vala: mini fix: remove unnecessray cast in
......
......@@ -606,7 +606,7 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
}
}
if (acc.writable || acc.construction) {
if (acc.body != null && (acc.writable || acc.construction)) {
acc.value_parameter = new FormalParameter ("value", acc.prop.type_reference);
acc.body.scope.add (acc.value_parameter.name, acc.value_parameter);
}
......
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