scala.reflect.internal.Types$TypeError

type mismatch; > found : ClassGenerator.this.global.Name => Int > required: ClassGenerator.this.global.Name => Int > at > scala.tools.nsc.typechecker.Contexts$ThrowingReporter.handleError(Contexts.scala:1374) > at > scala.tools.nsc.typechecker.Contexts$ContextReporter.issue(Contexts.scala:1226)

Solutions on the web31

  • type mismatch; > found : ClassGenerator.this.global.Name => Int > required: ClassGenerator.this.global.Name => Int > at > scala.tools.nsc.typechecker.Contexts$ThrowingReporter.handleError(Contexts.scala:1374) > at > scala.tools.nsc.typechecker.Contexts$ContextReporter.issue(Contexts.scala:1226)
  • type mismatch; found : scala.collection.slick.Test2.CoffeesTable => Boolean required: scala.collection.slick.Test2#CoffeesTable => Boolean at [...]
  • type mismatch; found : Gsp required: G
  • Stack trace

    • scala.reflect.internal.Types$TypeError: type mismatch; > found : ClassGenerator.this.global.Name => Int > required: ClassGenerator.this.global.Name => Int > at > scala.tools.nsc.typechecker.Contexts$ThrowingReporter.handleError(Contexts.scala:1374) > at > scala.tools.nsc.typechecker.Contexts$ContextReporter.issue(Contexts.scala:1226) at scala.tools.nsc.typechecker.Contexts$Context.issue(Contexts.scala:575)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.