Skip to content

Revisit 2.13 warning about kind-polymorphic type inferred as Nothing #842

@bpholt

Description

@bpholt

Hopefully a future version of 2.13 will resolve scala/bug#13128. When that happens, we should revisit the patch range:

scalaVersion.value match {
case V(V(2, 13, Some(patch), _)) if patch >= 17 =>
// https://github.com/scala/bug/issues/13128#issuecomment-3375870295
Seq("-Wconf:cat=lint-infer-any&msg=kind-polymorphic:s")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions