Skip to content

Regression in name hashing of traits #2436

@gkossakowski

Description

@gkossakowski
// A.scala
trait A {
  //def foo: Int = 12
}

// B.scala
class B(a: A)

When you uncomment definition of foo B.scala is recompiled but it shouldn't. The recompilation of B.scala caused by change of a hash of A caused by addition of foo. This regressed in 40ebc82.

I think it's large enough regression that should be considered as a showstopper for 0.13.10.
Unfortunately, existing scripted tests don't cover this scenario.

//cc @eed3si9n

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions