problem with fields ending with undercore #65

jmvanel opened this Issue Nov 7, 2013 · 0 comments


None yet

2 participants

jmvanel commented Nov 7, 2013

Scalagen creates declaration as usual:

val myField_: MyType = _

but the combination "_:" is badly understood by Scala compiler.

The remedy can be simple: just add systematically a space before :

While I'm here , the recipe for running scalagen from latest code (which is recommended AFAIK) is wrong.
It is currently

mvn com.mysema.scalagen:scalagen-maven-plugin_2.9.3:0.3.2:main -DtargetFolder=target/scala

For the exact figures, confirm by looking in the pom.xml .

@timowest timowest added a commit that referenced this issue Nov 14, 2013
@timowest Fix field serialization #65 646e5f8
@timowest timowest closed this Nov 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment