Skip to content

Should be able to blacklist >1 member when exporting #8368

Closed
@joshlemer

Description

@joshlemer

minimized code

trait Foo {
  def a = 1
  def b = 1
  def c = 1
}

class Bar(foo: Foo) {
  export foo.{a => _, b => _, _}
}

Compilation output

Double definition:
final def _: => Int in class Bar at line 8 and
final def _: => Int in class Bar at line 8
have the same type after erasure.

expectation

It should allow multiple members to be blacklisted from export

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions