summaryrefslogtreecommitdiff
path: root/vala/valaforeachstatement.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/valaforeachstatement.vala
parent6a6a2cf59b7302b0b3b111c6a0c879c00d36ddce (diff)
downloadvala-5ea6dc05d62c71ba4e633f70b86e4dd0a5e9c089.tar.gz
Drop Dova profile
Diffstat (limited to 'vala/valaforeachstatement.vala')
-rw-r--r--vala/valaforeachstatement.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaforeachstatement.vala b/vala/valaforeachstatement.vala
index 319968af6..f27e30371 100644
--- a/vala/valaforeachstatement.vala
+++ b/vala/valaforeachstatement.vala
@@ -167,7 +167,7 @@ public class Vala.ForeachStatement : Block {
var collection_type = collection.value_type.copy ();
collection.target_type = collection_type.copy ();
- if (context.profile != Profile.DOVA && collection_type.is_array ()) {
+ if (collection_type.is_array ()) {
var array_type = (ArrayType) collection_type;
// can't use inline-allocated array for temporary variable