Skip to content

Dotty needs to support overloaded methods that have same erazed arguments. #808

Closed
@DarkDimius

Description

@DarkDimius

Method is inherited from scala2 trait BCodeIdiomatic.
Seems to be a problem with overloads, as there should be 3 mkArray methods:

  final def mkArray(xs: List[BType]): Array[BType]
  final def mkArray(xs: List[String]): Array[String]
  final def mkArray(xs: List[asm.Label]): Array[asm.Label]

but only

  public final scala.tools.nsc.backend.jvm.BTypes$BType[] mkArray(scala.collection.immutable.List)

is actually emitted in bytecode.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions