You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
Minor issue, but we've just started paying attention to compiler warnings and came across some generated by android-plugin in the generated TR.scala source:
[info] Compiling 38 Scala sources and 200 Java sources to .../sbt/target/scala-2.10/classes...
[warn] .../TR.scala:164: implicit conversion method layout2int 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 layout2int(l: TypedLayout) = l.id
[warn] ^
...
It looks like just adding
importscala.language.implicitConversions
to TypedResources.generateTypedResourcesTask's IO.write() template should do the trick.
The text was updated successfully, but these errors were encountered:
Minor issue, but we've just started paying attention to compiler warnings and came across some generated by android-plugin in the generated TR.scala source:
It looks like just adding
to
TypedResources.generateTypedResourcesTask
'sIO.write()
template should do the trick.The text was updated successfully, but these errors were encountered: