We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
abstract class Foo { implicit val xxx: Map[String,String] } object Error1 extends Foo { implicit val xxx = Map("x"->"x") } object Error2 extends Foo { implicit val xxx = Map[String,String]("x"->"x") } object Error3 extends Foo { override implicit val xxx = Map[String,String]("x"->"x") } //error: value -> is not a member of String object Ok1 extends Foo { implicit val xxx: Map[String,String] = Map("x"->"x") } object Ok2 extends Foo { implicit val xxx = Map(("x","x")) }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5798?orig=1 Reporter: @refried Affected Versions: 2.9.1, 2.10.0-M3 See #5265
Sorry, something went wrong.
The example compiles since 2.11. The linked ticket is to warn in any case.
No branches or pull requests
The text was updated successfully, but these errors were encountered: