We should fix the following warning from the scalac:
Добавил scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature") -- получил
[warn] /home/ingvar/Projects/Keter/src/main/scala/ru/org/codingteam/rotjs/wrapper/Wrappers.scala:7: > implicit conversion method richDisplay should be enabled
[warn] by making the implicit value scala.language.implicitConversions visible.
[warn] This can be achieved by adding the import clause 'import scala.language.implicitConversions'
[warn] or by setting the compiler option -language:implicitConversions.
[warn] See the Scala docs for value scala.language.implicitConversions for a discussion
[warn] why the feature should be explicitly enabled.
[warn] implicit def richDisplay(display: Display) = new RichDisplay(display)
[warn] ^
[warn] one warning found
I think it can be fixed by converting RichDisplay to the implicit class.
We should fix the following warning from the
scalac
:I think it can be fixed by converting
RichDisplay
to the implicit class.