scala.ScalaReflectionException: type To is not a class

GitHub | hubertp | 2 years ago
  1. 0

    Calling `to` (without type arguments) on a record crashes macro

    GitHub | 2 years ago | hubertp
    scala.ScalaReflectionException: type To is not a class
  2. 0

    scala.ScalaReflectionException: type T is not a class

    GitHub | 2 years ago | lihaoyi
    scala.ScalaReflectionException: type T is not a class
  3. 0

    repl tab completion in 2.11

    Google Groups | 3 years ago | Lukas Rytz
    scala.ScalaReflectionException: value res0 is not a class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    “type [...] is not a class” on 2.11.0-RC1

    GitHub | 3 years ago | stanch
    scala.ScalaReflectionException: type R is not a class
  6. 0

    CustomPicklers cannot be used in generic functions.

    GitHub | 3 years ago | markehammons
    scala.ScalaReflectionException: type T is not a class

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. scala.ScalaReflectionException

      type To is not a class

      at scala.reflect.api.Symbols$SymbolApi$class.asClass()
    2. Scala
      Symbols$SymbolContextApiImpl.asClass
      1. scala.reflect.api.Symbols$SymbolApi$class.asClass(Symbols.scala:272)
      2. scala.reflect.internal.Symbols$SymbolContextApiImpl.asClass(Symbols.scala:82)
      2 frames
    3. records
      RecordConversions$.to_impl
      1. records.RecordConversions$ConversionMacros.convertRecordMaterializer(RecordConversions.scala:62)
      2. records.RecordConversions$.to_impl(RecordConversions.scala:34)
      2 frames