user1078671
user1078671

Reputation:

How turn off/on typer phase in scala repl and sbt console

Is it possible to switch phase without exiting from current session? I've tried entering :power mode, but it still doesn't print types.

Upvotes: 10

Views: 1047

Answers (1)

4lex1v
4lex1v

Reputation: 21557

In SBT just add the following setting:

set scalacOptions in (Compile, console) := "-Xprint:typer"

in REPL you can use :settings -Xprint:typer

Upvotes: 13

Related Questions