Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add import scala.language.implicitConversions #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add import scala.language.implicitConversions #200

wants to merge 1 commit into from

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