pauljamescleary / scala-pet-store

An implementation of the java pet store using FP techniques in scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relax scalac settings for REPL

zakpatterson opened this issue · comments

With fatal-warnings, we can't use the repl...

scala> import cats._                                                                                    
<console>:11: warning: Unused import
       import cats._
                   ^
error: No warnings can be incurred under -Xfatal-warnings.

scala> import cats.implicits._                                                                          
<console>:11: warning: Unused import
       import cats.implicits._
                             ^
error: No warnings can be incurred under -Xfatal-warnings.

Right, makes sense. I think there is a way to override this for the repl / console. Will do some digging. I did something similar recently in a work project.