Skip to content

silence a warning in the build definition #14551

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

Merged
merged 1 commit into from
Feb 23, 2022
Merged

silence a warning in the build definition #14551

merged 1 commit into from
Feb 23, 2022

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