We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
val x: List[String] = List(1)
error: type mismatch: found : Int(1) required: A val x: List[String] = List(1) ^
Note that it says required: A instead of required: String.
required: A
required: String