Skip to content

Conversation

SethTisue
Copy link
Member

@SethTisue SethTisue commented Feb 23, 2022

[warn] /Users/tisue/dotty/project/ScaladocGeneration.scala:16:20: non-variable type argument String in type pattern List[String] (the underlying of List[String]) is unchecked since it is eliminated by erasure
[warn]         case list: List[String] => s"$key:${list.map(escape).mkString(",")}"
[warn]                    ^

@SethTisue SethTisue requested a review from dwijnand February 23, 2022 20:58
@dwijnand dwijnand merged commit d0f9989 into scala:main Feb 23, 2022
@dwijnand dwijnand deleted the silence-build-warning branch February 23, 2022 22:59
@som-snytt
Copy link
Contributor

Could also just call .toString on elements.

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.

3 participants