In scala 2.13, why implicit scope of a companion object may sometimes be misaligned? How to correct it?

后端 未结 0 1355
灰色年华
灰色年华 2021-01-16 13:05

The following is a simple example that tests the implicit feature of the scala 2.13 compiler:

object OverridingScope {

  trait System {

    trait Handler[T]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题