Question

According to "Programming in Scala" one can pass the argument -Xprint:typer to the compiler and gets the code back as it looks after all the implicites are actually applied.

I also found that I can set compiler arguments in the project properties.

But I can't find any resulting output anywhere ...

So where do I have to look?

Was it helpful?

Solution 2

With the Scala IDE 2.1 Milestone 1 you can press Ctrl-1 to make implicits explicit

From http://scala-ide.org/download/milestone.html#scala_ide_21_milestone_1

Highlight Implicits It has never been easier to know where implicits are applied. And, by pressing Cmd/Ctrl+1, turn an implicit conversion into an explicit call!

OTHER TIPS

If you start Eclipse from a console, you should see the printed output there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top