timowest / scalagen

Java to Scala transformation
Apache License 2.0
216 stars 32 forks source link

method call without parenthesis and the argument is a literal #66

Closed jmvanel closed 10 years ago

jmvanel commented 10 years ago

From final List list = query("");

scalagen makes: val list = query ""

On which Scala 2.10 compiler says :

';' expected but string literal found.

Aparently, this is because the argument is a literal; if it were a variable it would compile.

jmvanel commented 10 years ago

If there was a minimal guided tour of the code, telling roughly were differents parts of the code are generated, I and other users could more easily provide pull requests.

timowest commented 10 years ago

@jmvanel Here is a start of some development guide https://github.com/mysema/scalagen/wiki/Scalagen-development