« Return to Thread: Compiler error

Compiler error

by Naftoli Gugenheim :: Rate this Message:

Reply to Author | View in Thread

Hi. I am trying to build my project using 2.7.4 or 2.7.5, using eclipse or maven which is not using fsc.
It prints:
exception when traversing ((rl: lrbcol.model.RequestLocation) => rl.request)
exception when traversing ...
It repeats this message with successively wider scope, going up the syntax tree.
In eclipse this in the eclipsec.exe console window.
Then it says, (in eclipse it's in the error log window following Build compiler (scalac) crashed)
scala.tools.nsc.symtab.Types$TypeError: type mismatch;
found   : rl.request.type (with underlying type object rl.request)
required: lrbcol.model.RequestLocationType#request.type
at scala.tools ...
...(a long stack trace)
This happens often with lift mapper objects when using an anonymous function like _.field.
Is this a known / fixed bug?

 « Return to Thread: Compiler error