-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Project with three source files:
// Global.scala
class Global {
class Foo extends Namers
}
// Namers.scala
class Namers {
class Namer { thisNamer => }
}
// Client.scala
class Client(global: Global)steps
- compile
- add a whitespace to
Global.scalaand watchClient.scalabeing recompiled
problem
Whitespace change causes recompilation of dependent files.
notes
The problem is unstable representation of classes that have a self variable (check Namer). This instability comes from not forcing info of the symbol that represent self type/self variable. This is a regression caused by 1ce1123.
Reactions are currently unavailable