Skip to content

Failure to type patterns in IntMap #939

Closed
@DarkDimius

Description

@DarkDimius

dotc ./scala-scala/src/library/scala/collection/immutable/IntMap.scala

./scala-scala/src/library/scala/collection/immutable/IntMap.scala:118: error: Pattern type ((T1?), (T2?), (T3?), (T4?)) is neither a subtype nor a supertype of selector type (key: scala.collection.immutable.IntMapUtils.Int)Option[V]
      case IntMap.Bin(_,_, t@IntMap.Tip(_, _), right) => {

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions