scala.reflect.macros.TypecheckException: not found: type T

GitHub | laysakura | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Compilation error when Context#query takes type parameter

    GitHub | 5 months ago | laysakura
    scala.reflect.macros.TypecheckException: not found: type T
  2. 0

    DiagrammedAssertions can't cope with BigIntegers

    GitHub | 2 years ago | pniederw
    scala.reflect.macros.TypecheckException: inferred type arguments [java.math.BigInteger.type] do not conform to method simpleExpr's type parameter bounds [T]
  3. 0

    Typecheck/untypecheck messes up normalized implicit arguments in `Algorithm` code

    GitHub | 1 year ago | fschueler
    scala.reflect.macros.TypecheckException: package is not an enclosing class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 136#164899889

    GitHub | 1 year ago | fschueler
    scala.reflect.macros.TypecheckException: package is not an enclosing class
  6. 0

    Scalatest 3.0 - exception during macro expansion

    GitHub | 1 year ago | chilang
    scala.reflect.macros.TypecheckException: not found: value assertionsHelper
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.reflect.macros.TypecheckException

    not found: type T

    at scala.reflect.macros.contexts.Typers$$anonfun$typecheck$2$$anonfun$apply$1.apply()
  2. Scala Compiler
    Typers$$anonfun$typecheck$2.apply
    1. scala.reflect.macros.contexts.Typers$$anonfun$typecheck$2$$anonfun$apply$1.apply(Typers.scala:34)
    2. scala.reflect.macros.contexts.Typers$$anonfun$typecheck$2$$anonfun$apply$1.apply(Typers.scala:28)
    3. scala.reflect.macros.contexts.Typers$$anonfun$3.apply(Typers.scala:24)
    4. scala.reflect.macros.contexts.Typers$$anonfun$3.apply(Typers.scala:24)
    5. scala.reflect.macros.contexts.Typers$$anonfun$withContext$1$1.apply(Typers.scala:25)
    6. scala.reflect.macros.contexts.Typers$$anonfun$withContext$1$1.apply(Typers.scala:25)
    7. scala.reflect.macros.contexts.Typers$$anonfun$1.apply(Typers.scala:23)
    8. scala.reflect.macros.contexts.Typers$$anonfun$1.apply(Typers.scala:23)
    9. scala.reflect.macros.contexts.Typers$class.withContext$1(Typers.scala:25)
    10. scala.reflect.macros.contexts.Typers$$anonfun$typecheck$2.apply(Typers.scala:28)
    11. scala.reflect.macros.contexts.Typers$$anonfun$typecheck$2.apply(Typers.scala:28)
    11 frames
  3. Scala
    SymbolTable.wrappingIntoTerm
    1. scala.reflect.internal.Trees$class.wrappingIntoTerm(Trees.scala:1716)
    2. scala.reflect.internal.SymbolTable.wrappingIntoTerm(SymbolTable.scala:16)
    2 frames
  4. Scala Compiler
    Context.typecheck
    1. scala.reflect.macros.contexts.Typers$class.withWrapping$1(Typers.scala:26)
    2. scala.reflect.macros.contexts.Typers$class.typecheck(Typers.scala:28)
    3. scala.reflect.macros.contexts.Context.typecheck(Context.scala:6)
    4. scala.reflect.macros.contexts.Context.typecheck(Context.scala:6)
    4 frames
  5. io.getquill.quotation
    Parsing$$anonfun$10.applyOrElse
    1. io.getquill.quotation.Parsing$$anonfun$10.applyOrElse(Parsing.scala:170)
    2. io.getquill.quotation.Parsing$$anonfun$10.applyOrElse(Parsing.scala:159)
    2 frames
  6. Scala
    PartialFunction$Lifted.apply
    1. scala.PartialFunction$Lifted.apply(PartialFunction.scala:223)
    2. scala.PartialFunction$Lifted.apply(PartialFunction.scala:219)
    2 frames
  7. io.getquill.quotation
    Parsing$$anonfun$1.applyOrElse
    1. io.getquill.quotation.Parsing$Parser.unapply(Parsing.scala:29)
    2. io.getquill.quotation.Parsing$$anonfun$1.applyOrElse(Parsing.scala:40)
    3. io.getquill.quotation.Parsing$$anonfun$1.applyOrElse(Parsing.scala:33)
    3 frames
  8. Scala
    PartialFunction$Lifted.apply
    1. scala.PartialFunction$Lifted.apply(PartialFunction.scala:223)
    2. scala.PartialFunction$Lifted.apply(PartialFunction.scala:219)
    2 frames
  9. io.getquill.quotation
    Quotation$class.quote
    1. io.getquill.quotation.Parsing$Parser.unapply(Parsing.scala:29)
    2. io.getquill.quotation.Parsing$Parser.apply(Parsing.scala:20)
    3. io.getquill.quotation.Quotation$class.quote(Quotation.scala:19)
    3 frames
  10. io.getquill.dsl
    QuotationMacro.quote
    1. io.getquill.dsl.QuotationMacro.quote(QuotationDsl.scala:37)
    1 frame