Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#38 Fix cast

  • Loading branch information...
commit 91f683352b95e7dfd99b212ccc56e2cbcd0bc3ff 1 parent 7f63fe0
@timowest timowest authored
View
2  pom.xml
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.mysema.scalagen</groupId>
<artifactId>scalagen-root</artifactId>
- <version>0.2.0</version>
+ <version>0.2.1</version>
<name>Scalagen - parent</name>
<parent>
View
2  scalagen-maven-plugin/pom.xml
@@ -10,7 +10,7 @@
<groupId>com.mysema.scalagen</groupId>
<artifactId>scalagen-maven-plugin</artifactId>
- <version>0.2.0</version>
+ <version>0.2.1</version>
<name>Scalagen - Maven plugin</name>
<description>Scalagen Maven plugin</description>
<packaging>maven-plugin</packaging>
View
2  scalagen/pom.xml
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.mysema.scalagen</groupId>
<artifactId>scalagen</artifactId>
- <version>0.2.0</version>
+ <version>0.2.1</version>
<name>Scalagen</name>
<parent>
View
2  scalagen/src/main/scala/com/mysema/scalagen/ControlStatements.scala
@@ -88,7 +88,7 @@ class ControlStatements extends UnitTransformerBase {
val vid = v.getId.toString
new Foreach(
VariableDeclaration(0, "(key, value)", Type.Object),
- scope, n.getBody.accept(toKeyAndValue, vid).asInstanceOf[Block])
+ scope, n.getBody.accept(toKeyAndValue, vid).asInstanceOf[Statement])
}
case _ => n
}
Please sign in to comment.
Something went wrong with that request. Please try again.