Skip to content

Conversation

DrDru
Copy link

@DrDru DrDru commented Feb 21, 2018

You need to add "import scala.language.implicitConversions" with the current version of Scala. Otherwise I receive an error message when I run the function definition :

"advanced_type.scala:11: warning: implicit conversion method strToInt shoulnabled
by making the implicit value scala.language.implicitConversions visible.
This can be achieved by adding the import clause 'import scala.language.imConversions'
or by setting the compiler option -language:implicitConversions.
See the Scaladoc for value scala.language.implicitConversions for a discus
why the feature should be explicitly enabled."

"import scala.language.implicitConversions" with the current version of Scala. Otherwise I receive an error message when I run the function definition :

"advanced_type.scala:11: warning: implicit conversion method strToInt shoulnabled
by making the implicit value scala.language.implicitConversions visible.
This can be achieved by adding the import clause 'import scala.language.imConversions'
or by setting the compiler option -language:implicitConversions.
See the Scaladoc for value scala.language.implicitConversions for a discus
why the feature should be explicitly enabled."
@CLAassistant
Copy link

CLAassistant commented Feb 21, 2018

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants