scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving class Array

Scala JIRA | Jason Zaugg | 4 years ago
  1. 0

    {code} tail test/files/pos/no-spec-array-cycle.* ==> test/files/pos/no-spec-array-cycle.flags <== -no-specialization ==> test/files/pos/no-spec-array-cycle.scala <== object Test { // val fixesCompile = Array(1, 2, 3) private def foo: Any = new Array[Byte](0) } 2.10.x /code/scala2 pt test/files/pos/no-spec-array-cycle.scala Testing individual files exception when typing new Array[Byte]/class scala.reflect.internal.Trees$New illegal cyclic reference involving class Array in file test/files/pos/no-spec-array-cycle.scala scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving class Array at scala.reflect.internal.Symbols$TypeSymbol.tpe(Symbols.scala:2759) at scala.reflect.internal.Symbols$Symbol.typeOfThis(Symbols.scala:1743) at scala.reflect.internal.Types$ThisType.underlying(Types.scala:1433) at scala.reflect.internal.Types$SimpleTypeProxy$class.baseType(Types.scala:248) at scala.reflect.internal.Types$SingletonType.baseType(Types.scala:1327) at scala.reflect.internal.Types$AsSeenFromMap.toPrefix$1(Types.scala:4547) at scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4549) at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4176) at scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4631) at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4190) at scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4631) at scala.reflect.internal.Types$Type.asSeenFrom(Types.scala:754) at scala.reflect.internal.Types$Type.computeMemberType(Types.scala:788) at scala.reflect.internal.Symbols$MethodSymbol.typeAsMemberOf(Symbols.scala:2646) at scala.reflect.internal.Types$Type.memberType(Types.scala:779) at scala.reflect.internal.Symbols$Symbol.scala$reflect$internal$Symbols$Symbol$$qualifies$1(Symbols.scala:2039) at scala.reflect.internal.Symbols$Symbol.matchingSymbol(Symbols.scala:2040) at scala.reflect.internal.Symbols$Symbol.overriddenSymbol(Symbols.scala:2054) at scala.reflect.internal.Symbols$Symbol$$anonfun$allOverriddenSymbols$1.apply(Symbols.scala:2066) at scala.reflect.internal.Symbols$Symbol$$anonfun$allOverriddenSymbols$1.apply(Symbols.scala:2066) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.immutable.List.foreach(List.scala:318) at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) at scala.collection.AbstractTraversable.map(Traversable.scala:105) at scala.reflect.internal.Symbols$Symbol.allOverriddenSymbols(Symbols.scala:2066) at scala.tools.nsc.transform.SpecializeTypes.scala$tools$nsc$transform$SpecializeTypes$$needsSpecialOverride$1(SpecializeTypes.scala:949) at scala.tools.nsc.transform.SpecializeTypes$$anonfun$specialOverrides$3.apply(SpecializeTypes.scala:971) at scala.tools.nsc.transform.SpecializeTypes$$anonfun$specialOverrides$3.apply(SpecializeTypes.scala:970) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) at scala.collection.immutable.List.foreach(List.scala:318) at scala.reflect.internal.Scopes$Scope.foreach(Scopes.scala:315) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) at scala.reflect.internal.Scopes$Scope.flatMap(Scopes.scala:44) at scala.tools.nsc.transform.SpecializeTypes.specialOverrides(SpecializeTypes.scala:970) at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1168) at scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38) at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312) at scala.reflect.internal.Symbols$Symbol$$anonfun$unsafeTypeParams$1.apply(Symbols.scala:1468) at scala.reflect.internal.Symbols$Symbol$$anonfun$unsafeTypeParams$1.apply(Symbols.scala:1468) at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207) at scala.reflect.internal.Symbols$Symbol.unsafeTypeParams(Symbols.scala:1468) at scala.reflect.internal.Symbols$TypeSymbol.tpe(Symbols.scala:2768) at scala.tools.nsc.typechecker.Typers$Typer.typedNew$1(Typers.scala:4399) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5539) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5689) at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5697) at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:810) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4570) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4570) at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:728) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4570) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4621) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5526) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5807) at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2255) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5531) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.collection.immutable.List.loop$1(List.scala:170) at scala.collection.immutable.List.mapConserve(List.scala:186) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1919) at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1759) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5545) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.collection.immutable.List.loop$1(List.scala:170) at scala.collection.immutable.List.mapConserve(List.scala:186) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5263) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5666) at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1296) at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1292) at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207) at scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216) at scala.tools.nsc.Global.afterErasure(Global.scala:1098) at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1292) at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:893) at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:227) at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464) at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431) at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553) at scala.tools.nsc.Global$Run.compile(Global.scala:1662) at scala.tools.partest.nest.DirectCompiler.compile(CompileManager.scala:143) at scala.tools.partest.nest.CompileManager.attemptCompile(CompileManager.scala:163) at scala.tools.partest.nest.RunnerManager$Runner$$anonfun$runTestCommon$1.apply(RunnerManager.scala:365) at scala.tools.partest.nest.RunnerManager$Runner$$anonfun$runTestCommon$1.apply(RunnerManager.scala:362) at scala.tools.partest.nest.RunnerManager$Runner.runInContext(RunnerManager.scala:323) at scala.tools.partest.nest.RunnerManager$Runner.runTestCommon(RunnerManager.scala:362) at scala.tools.partest.nest.RunnerManager$Runner.processSingleFile(RunnerManager.scala:485) at scala.tools.partest.nest.RunnerManager$Runner.run(RunnerManager.scala:805) at scala.tools.partest.nest.RunnerManager$$anonfun$29.apply(RunnerManager.scala:837) at scala.tools.partest.nest.RunnerManager$$anonfun$29.apply(RunnerManager.scala:837) at scala.tools.partest.package$.timed(package.scala:38) at scala.tools.partest.nest.RunnerManager.runTest(RunnerManager.scala:837) at scala.tools.partest.nest.DirectRunner$$anonfun$2$$anonfun$apply$1.apply(DirectRunner.scala:60) at scala.tools.partest.nest.DirectRunner$$anonfun$2$$anonfun$apply$1.apply(DirectRunner.scala:60) at scala.tools.partest.package$$anon$1.call(package.scala:44) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) exception when typing new Array[Byte].<arr><init> exception when typing new Array[Byte].<arr><init>(0) exception when typing private def foo(): Object = new Array[Byte].<arr><init>(0) exception when typing object Test extends Object { def <init>(): Test.type = { Test.super.<init>(); () }; private def foo(): Object = new Array[Byte].<arr><init>(0) } exception when typing package <empty> { object Test extends Object { def <init>(): Test.type = { Test.super.<init>(); () }; private def foo(): Object = new Array[Byte].<arr><init>(0) } } unhandled exception while transforming no-spec-array-cycle.scala testing: [...]/files/pos/no-spec-array-cycle.scala [FAILED] 1 of 1 tests failed (elapsed time: 00:00:01) {code} See also: {noformat} commit 2e208625a021e52db2e96acc5c3b761c77fc659a Author: Paul Phillips <paulp@improving.org> Date: Sat May 26 10:19:09 2012 -0700 Remove AnyVal from StringLike parents. Otherwise we crash in erasure; there is some kind of accidental dependency between the specialization phase and value classes, which can be seen in master by trying to compile StringOps.scala with -no-specialization. {noformat} {noformat} commit c82bc67737a31f2a639172e677cafdefe8fdbf4e Author: Jason Zaugg <jzaugg@gmail.com> Date: Sat May 26 22:49:12 2012 +0200 Fix a NSDNHAO in extension methods. A bridge method, created when we override a method from a superclass and refine the return type, was appearing as an overloaded alternative. (`erasure` doesn't create new scopes, so the bridges it builds are visible at earlier phases.) The problem was masked when compiling with specialization, which *does* create a new scope, shielding the code in question from the artefacts of erasure. To fix the problem, we filter out bridge methods from the overloaded alternatives returned by `.decl`, as would happen internally in `.member`. {noformat}

    Scala JIRA | 4 years ago | Jason Zaugg
    scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving class Array
  2. 0

    Spark is throughing scala.reflect.internal.MissingRequirementError when writing Naive Bayes model

    Stack Overflow | 5 months ago | Kaushal
    scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving class NaiveBayesModelWriter
  3. 0

    illegal cyclic reference

    GitHub | 2 years ago | elmalto
    scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving class Yeoman
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Synchronize reflection code as scala 2.10 reflection is not threadsafe

    GitHub | 3 years ago | timcharper
    scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving anonymous class $$anonfun$4
  6. 0

    #1002563 - Cyclic reference error when sources of scala-library is on the classpath (New) | Scala IDE for Eclipse Project | Assembla

    assembla.com | 3 months ago
    scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving object Predef

    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.internal.Symbols$CyclicReference

      illegal cyclic reference involving class Array

      at scala.reflect.internal.Symbols$TypeSymbol.tpe()
    2. Scala
      Symbols$Symbol$$anonfun$allOverriddenSymbols$1.apply
      1. scala.reflect.internal.Symbols$TypeSymbol.tpe(Symbols.scala:2759)
      2. scala.reflect.internal.Symbols$Symbol.typeOfThis(Symbols.scala:1743)
      3. scala.reflect.internal.Types$ThisType.underlying(Types.scala:1433)
      4. scala.reflect.internal.Types$SimpleTypeProxy$class.baseType(Types.scala:248)
      5. scala.reflect.internal.Types$SingletonType.baseType(Types.scala:1327)
      6. scala.reflect.internal.Types$AsSeenFromMap.toPrefix$1(Types.scala:4547)
      7. scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4549)
      8. scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4176)
      9. scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4631)
      10. scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4190)
      11. scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4631)
      12. scala.reflect.internal.Types$Type.asSeenFrom(Types.scala:754)
      13. scala.reflect.internal.Types$Type.computeMemberType(Types.scala:788)
      14. scala.reflect.internal.Symbols$MethodSymbol.typeAsMemberOf(Symbols.scala:2646)
      15. scala.reflect.internal.Types$Type.memberType(Types.scala:779)
      16. scala.reflect.internal.Symbols$Symbol.scala$reflect$internal$Symbols$Symbol$$qualifies$1(Symbols.scala:2039)
      17. scala.reflect.internal.Symbols$Symbol.matchingSymbol(Symbols.scala:2040)
      18. scala.reflect.internal.Symbols$Symbol.overriddenSymbol(Symbols.scala:2054)
      19. scala.reflect.internal.Symbols$Symbol$$anonfun$allOverriddenSymbols$1.apply(Symbols.scala:2066)
      20. scala.reflect.internal.Symbols$Symbol$$anonfun$allOverriddenSymbols$1.apply(Symbols.scala:2066)
      20 frames
    3. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.immutable.List.foreach(List.scala:318)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      5. scala.collection.AbstractTraversable.map(Traversable.scala:105)
      5 frames
    4. Scala
      Symbols$Symbol.allOverriddenSymbols
      1. scala.reflect.internal.Symbols$Symbol.allOverriddenSymbols(Symbols.scala:2066)
      1 frame
    5. Scala Compiler
      SpecializeTypes$$anonfun$specialOverrides$3.apply
      1. scala.tools.nsc.transform.SpecializeTypes.scala$tools$nsc$transform$SpecializeTypes$$needsSpecialOverride$1(SpecializeTypes.scala:949)
      2. scala.tools.nsc.transform.SpecializeTypes$$anonfun$specialOverrides$3.apply(SpecializeTypes.scala:971)
      3. scala.tools.nsc.transform.SpecializeTypes$$anonfun$specialOverrides$3.apply(SpecializeTypes.scala:970)
      3 frames
    6. Scala
      List.foreach
      1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
      2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
      3. scala.collection.immutable.List.foreach(List.scala:318)
      3 frames
    7. Scala
      Scopes$Scope.foreach
      1. scala.reflect.internal.Scopes$Scope.foreach(Scopes.scala:315)
      1 frame
    8. Scala
      TraversableLike$class.flatMap
      1. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
      1 frame
    9. Scala
      Scopes$Scope.flatMap
      1. scala.reflect.internal.Scopes$Scope.flatMap(Scopes.scala:44)
      1 frame
    10. Scala Compiler
      InfoTransform$Phase$$anon$1.transform
      1. scala.tools.nsc.transform.SpecializeTypes.specialOverrides(SpecializeTypes.scala:970)
      2. scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1168)
      3. scala.tools.nsc.transform.InfoTransform$Phase$$anon$1.transform(InfoTransform.scala:38)
      3 frames
    11. Scala
      Symbols$TypeSymbol.tpe
      1. scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312)
      2. scala.reflect.internal.Symbols$Symbol$$anonfun$unsafeTypeParams$1.apply(Symbols.scala:1468)
      3. scala.reflect.internal.Symbols$Symbol$$anonfun$unsafeTypeParams$1.apply(Symbols.scala:1468)
      4. scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
      5. scala.reflect.internal.Symbols$Symbol.unsafeTypeParams(Symbols.scala:1468)
      6. scala.reflect.internal.Symbols$TypeSymbol.tpe(Symbols.scala:2768)
      6 frames
    12. Scala Compiler
      Typers$Typer$$anonfun$60.apply
      1. scala.tools.nsc.typechecker.Typers$Typer.typedNew$1(Typers.scala:4399)
      2. scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5539)
      3. scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
      4. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
      5. scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5689)
      6. scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5697)
      7. scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:810)
      8. scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
      9. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
      10. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4570)
      11. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4570)
      12. scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:728)
      13. scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4570)
      14. scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4621)
      15. scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5526)
      16. scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
      17. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
      18. scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5807)
      19. scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2255)
      20. scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5531)
      21. scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
      22. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
      23. scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926)
      24. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030)
      25. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030)
      25 frames
    13. Scala
      List.mapConserve
      1. scala.collection.immutable.List.loop$1(List.scala:170)
      2. scala.collection.immutable.List.mapConserve(List.scala:186)
      2 frames
    14. Scala Compiler
      Typers$Typer$$anonfun$60.apply
      1. scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030)
      2. scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1919)
      3. scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1759)
      4. scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5545)
      5. scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
      6. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
      7. scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926)
      8. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030)
      9. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030)
      9 frames
    15. Scala
      List.mapConserve
      1. scala.collection.immutable.List.loop$1(List.scala:170)
      2. scala.collection.immutable.List.mapConserve(List.scala:186)
      2 frames
    16. Scala Compiler
      Erasure$ErasureTransformer$$anonfun$transform$2.apply
      1. scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030)
      2. scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5263)
      3. scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549)
      4. scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
      5. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
      6. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5666)
      7. scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1296)
      8. scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1292)
      8 frames
    17. Scala
      SymbolTable.afterPhase
      1. scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
      2. scala.reflect.internal.SymbolTable.afterPhase(SymbolTable.scala:216)
      2 frames
    18. Scala Compiler
      Global$GlobalPhase$$anonfun$run$1.apply
      1. scala.tools.nsc.Global.afterErasure(Global.scala:1098)
      2. scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1292)
      3. scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:893)
      4. scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:227)
      5. scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
      6. scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
      7. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
      8. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
      8 frames
    19. Scala
      AbstractIterator.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      2 frames
    20. Scala Compiler
      Global$Run.compile
      1. scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431)
      2. scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
      3. scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
      4. scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
      5. scala.tools.nsc.Global$Run.compile(Global.scala:1662)
      5 frames
    21. scala-partest
      RunnerManager$$anonfun$29.apply
      1. scala.tools.partest.nest.DirectCompiler.compile(CompileManager.scala:143)
      2. scala.tools.partest.nest.CompileManager.attemptCompile(CompileManager.scala:163)
      3. scala.tools.partest.nest.RunnerManager$Runner$$anonfun$runTestCommon$1.apply(RunnerManager.scala:365)
      4. scala.tools.partest.nest.RunnerManager$Runner$$anonfun$runTestCommon$1.apply(RunnerManager.scala:362)
      5. scala.tools.partest.nest.RunnerManager$Runner.runInContext(RunnerManager.scala:323)
      6. scala.tools.partest.nest.RunnerManager$Runner.runTestCommon(RunnerManager.scala:362)
      7. scala.tools.partest.nest.RunnerManager$Runner.processSingleFile(RunnerManager.scala:485)
      8. scala.tools.partest.nest.RunnerManager$Runner.run(RunnerManager.scala:805)
      9. scala.tools.partest.nest.RunnerManager$$anonfun$29.apply(RunnerManager.scala:837)
      10. scala.tools.partest.nest.RunnerManager$$anonfun$29.apply(RunnerManager.scala:837)
      10 frames
    22. Scala Compiler
      package$.timed
      1. scala.tools.partest.package$.timed(package.scala:38)
      1 frame
    23. scala-partest
      DirectRunner$$anonfun$2$$anonfun$apply$1.apply
      1. scala.tools.partest.nest.RunnerManager.runTest(RunnerManager.scala:837)
      2. scala.tools.partest.nest.DirectRunner$$anonfun$2$$anonfun$apply$1.apply(DirectRunner.scala:60)
      3. scala.tools.partest.nest.DirectRunner$$anonfun$2$$anonfun$apply$1.apply(DirectRunner.scala:60)
      3 frames
    24. Scala Compiler
      package$$anon$1.call
      1. scala.tools.partest.package$$anon$1.call(package.scala:44)
      1 frame
    25. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:680)
      5 frames