You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The symbol loader will create a symbol for every classfile that it finds. See also [https://github.com/scala/scala/blob/21f14e371c0baa9d59678fe5645cea80586ef116/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala#L648]
@paulp said:
Stepping back, there are two possible approaches: don't create duplicate symbols in the first place, or detect duplicate symbols if they are created. I trust we all agree that the former approach is preferable wherever possible; but if it isn't (I don't know) then we would probably benefit from identifying some invariants about when/where/how we will encounter such duplicates and how/where/when we can reliably detect them.
See:
https://groups.google.com/d/msg/scala-internals/Sg3xGKU6UWg/bNgDperR7acJ
I'm creating this ticket as place-holder so I can refer to it from other places. I'll provide more info later on.
The text was updated successfully, but these errors were encountered: