Error:scalac: Error: scala.reflect.internal.Types$ClassNoArgsTypeRef cannot be cast to scala.reflect.internal.Types$TypeBounds java.lang.ClassCastException: scala.reflect.internal.Types$ClassNoArgsTypeRef cannot be cast to scala.reflect.internal.Types$TypeBounds at scala.reflect.internal.tpe.TypeMaps$TypeMap.mapOver(TypeMaps.scala:155) at scala.reflect.internal.transform.Erasure$ErasureMap.apply(Erasure.scala:165) at scala.reflect.internal.transform.Erasure$ErasureMap.applyInArray(Erasure.scala:170) at scala.reflect.internal.transform.Erasure$ErasureMap.$anonfun$apply$1(Erasure.scala:127) at scala.reflect.internal.transform.Erasure$ErasureMap.apply(Erasure.scala:127) at scala.reflect.internal.transform.Erasure$ErasureMap.apply(Erasure.scala:137) at scala.reflect.internal.Definitions$DefinitionsClass.samOf(Definitions.scala:848) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$samToFunctionType$1(Typers.scala:778) at scala.tools.nsc.typechecker.Typers$Typer.samToFunctionType(Typers.scala:778) at scala.tools.nsc.typechecker.Infer$Inferencer.isCompatibleSam$1(Infer.scala:301) at scala.tools.nsc.typechecker.Infer$Inferencer.isCompatible(Infer.scala:310) at scala.tools.nsc.typechecker.Infer$Inferencer.isWeaklyCompatible(Infer.scala:321) at scala.tools.nsc.typechecker.Infer$Inferencer$InferTwice$1.$anonfun$tryOnce$1(Infer.scala:1284) at scala.tools.nsc.typechecker.Infer$Inferencer$InferTwice$1.$anonfun$tryOnce$1$adapted(Infer.scala:1284) at scala.collection.TraversableLike.$anonfun$filterImpl$1(TraversableLike.scala:248) at scala.collection.immutable.List.foreach(List.scala:378) at scala.collection.TraversableLike.filterImpl(TraversableLike.scala:247) at scala.collection.TraversableLike.filterImpl$(TraversableLike.scala:245) at scala.collection.AbstractTraversable.filterImpl(Traversable.scala:104) at scala.collection.TraversableLike.filter(TraversableLike.scala:259) at scala.collection.TraversableLike.filter$(TraversableLike.scala:259) at scala.collection.AbstractTraversable.filter(Traversable.scala:104) at scala.tools.nsc.typechecker.Infer$Inferencer$InferTwice$1.tryOnce(Infer.scala:1284) at scala.tools.nsc.typechecker.Contexts$Context$TryTwice.$anonfun$apply$1(Contexts.scala:360) at scala.tools.nsc.typechecker.Contexts$Context$TryTwice.apply(Contexts.scala:424) at scala.tools.nsc.typechecker.Infer$Inferencer.inferExprAlternative(Infer.scala:1310) at scala.tools.nsc.typechecker.Typers$Typer.stabilize(Typers.scala:598) at scala.tools.nsc.typechecker.Typers$Typer.typedSelectInternal$1(Typers.scala:4894) at scala.tools.nsc.typechecker.Typers$Typer.typedSelect$1(Typers.scala:4812) at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4939) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5467) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedArg$1(Typers.scala:3219) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:482) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$1(PatternTypers.scala:116) at scala.runtime.Tuple2Zipped$.$anonfun$map$1(Tuple2Zipped.scala:47) at scala.collection.immutable.List.foreach(List.scala:378) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:116) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110) at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:112) at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3564) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$30(Typers.scala:3590) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3590) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$25(Typers.scala:4614) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$silent$2(Typers.scala:717) at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:717) at scala.tools.nsc.typechecker.Typers$Typer.tryTypedApply$1(Typers.scala:4614) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4664) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5580) at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3062) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$9(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2443) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$91(Typers.scala:5441) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5476) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5591) at scala.tools.nsc.typechecker.Typers$Typer.typedFunction(Typers.scala:3009) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$90(Typers.scala:5407) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedFunction$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5444) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5476) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedArg$1(Typers.scala:3219) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:482) at scala.tools.nsc.typechecker.Typers$Typer.typedArgToPoly$1(Typers.scala:3609) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$33(Typers.scala:3617) at scala.tools.nsc.typechecker.Typers$Typer.handlePolymorphicCall$1(Typers.scala:3617) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3628) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4666) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5580) at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3062) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$9(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2443) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$91(Typers.scala:5441) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5476) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedArg$1(Typers.scala:3219) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:482) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$1(PatternTypers.scala:116) at scala.runtime.Tuple2Zipped$.$anonfun$map$1(Tuple2Zipped.scala:47) at scala.collection.immutable.List.foreach(List.scala:378) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:116) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110) at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:112) at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3564) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$30(Typers.scala:3590) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3590) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$25(Typers.scala:4614) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$silent$2(Typers.scala:717) at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:717) at scala.tools.nsc.typechecker.Typers$Typer.tryTypedApply$1(Typers.scala:4614) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4664) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5580) at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3062) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$9(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2443) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$91(Typers.scala:5441) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5476) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5594) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedStarInPattern(PatternTypers.scala:132) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedStarInPattern$(PatternTypers.scala:130) at scala.tools.nsc.typechecker.Typers$Typer.typedStarInPattern(Typers.scala:112) at scala.tools.nsc.typechecker.Typers$Typer.typedTyped$1(Typers.scala:5209) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5469) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedArg$1(Typers.scala:3219) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:482) at scala.tools.nsc.typechecker.Typers$Typer.typedArg0$1(Typers.scala:3362) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$13(Typers.scala:3378) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$12(Typers.scala:3352) at scala.tools.nsc.typechecker.Contexts$Context.$anonfun$savingUndeterminedTypeParams$1(Contexts.scala:319) at scala.tools.nsc.typechecker.Contexts$Context.savingUndeterminedTypeParams(Contexts.scala:383) at scala.tools.nsc.typechecker.Typers$Typer.handleOverloaded$1(Typers.scala:3349) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3393) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4666) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2444) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$91(Typers.scala:5441) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5476) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2444) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$91(Typers.scala:5441) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5476) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedArg$1(Typers.scala:3219) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:482) at scala.tools.nsc.typechecker.Typers$Typer.typedArg0$1(Typers.scala:3362) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$13(Typers.scala:3382) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$12(Typers.scala:3352) at scala.tools.nsc.typechecker.Contexts$Context.$anonfun$savingUndeterminedTypeParams$1(Contexts.scala:319) at scala.tools.nsc.typechecker.Contexts$Context.savingUndeterminedTypeParams(Contexts.scala:383) at scala.tools.nsc.typechecker.Typers$Typer.handleOverloaded$1(Typers.scala:3349) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3393) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$25(Typers.scala:4614) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$silent$2(Typers.scala:717) at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:717) at scala.tools.nsc.typechecker.Typers$Typer.tryTypedApply$1(Typers.scala:4614) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4664) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedArg$1(Typers.scala:3219) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:482) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$1(PatternTypers.scala:116) at scala.runtime.Tuple2Zipped$.$anonfun$map$1(Tuple2Zipped.scala:47) at scala.collection.immutable.List.foreach(List.scala:378) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:116) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110) at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:112) at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3564) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$30(Typers.scala:3590) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3590) at scala.tools.nsc.typechecker.NamesDefaults.transformNamedApplication(NamesDefaults.scala:336) at scala.tools.nsc.typechecker.NamesDefaults.transformNamedApplication$(NamesDefaults.scala:109) at scala.tools.nsc.Global$$anon$1.transformNamedApplication(Global.scala:438) at scala.tools.nsc.typechecker.Typers$Typer.tryNamesDefaults$1(Typers.scala:3479) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3547) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4666) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5600) at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5606) at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4932) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5467) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$27(Typers.scala:4645) at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:703) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4647) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2444) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$91(Typers.scala:5441) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:491) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5476) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedArg$1(Typers.scala:3219) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:482) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgWithFormal$1(PatternTypers.scala:113) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.$anonfun$typedArgsForFormals$1(PatternTypers.scala:116) at scala.runtime.Tuple2Zipped$.$anonfun$map$1(Tuple2Zipped.scala:47) at scala.collection.immutable.List.foreach(List.scala:378) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals(PatternTypers.scala:116) at scala.tools.nsc.typechecker.PatternTypers$PatternTyper.typedArgsForFormals$(PatternTypers.scala:110) at scala.tools.nsc.typechecker.Typers$Typer.typedArgsForFormals(Typers.scala:112) at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3564) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$30(Typers.scala:3590) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3590) at scala.tools.nsc.typechecker.NamesDefaults.transformNamedApplication(NamesDefaults.scala:336) at scala.tools.nsc.typechecker.NamesDefaults.transformNamedApplication$(NamesDefaults.scala:109) at scala.tools.nsc.Global$$anon$1.transformNamedApplication(Global.scala:438) at scala.tools.nsc.typechecker.Typers$Typer.tryNamesDefaults$1(Typers.scala:3479) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3547) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4666) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4700) at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5466) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5483) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5730) at scala.tools.nsc.typechecker.Typers$Typer.typedValDefImpl(Typers.scala:2055) at scala.tools.nsc.typechecker.Typers$Typer.typedValDef(Typers.scala:2011) at scala.tools.nsc.typechecker.Typers$Typer.typedMemberDef$1(Typers.scala:5430) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5482) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5580) at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3062) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$9(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1974) at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1798) at scala.tools.nsc.typechecker.Typers$Typer.typedMemberDef$1(Typers.scala:5432) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5482) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5580) at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3062) at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$9(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3206) at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5132) at scala.tools.nsc.typechecker.Typers$Typer.typedMemberDef$1(Typers.scala:5435) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5482) at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5519) at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5493) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5497) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5576) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:102) at scala.tools.nsc.Global$GlobalPhase.$anonfun$applyPhase$1(Global.scala:416) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:409) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.$anonfun$run$1(Analyzer.scala:94) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.$anonfun$run$1$adapted(Analyzer.scala:93) at scala.collection.Iterator.foreach(Iterator.scala:929) at scala.collection.Iterator.foreach$(Iterator.scala:929) at scala.collection.AbstractIterator.foreach(Iterator.scala:1406) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:93) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1418) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1403) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1398) at scala.tools.nsc.Global$Run.compile(Global.scala:1492) at xsbt.CachedCompiler0.run(CompilerInterface.scala:115) at xsbt.CachedCompiler0.run(CompilerInterface.scala:94) at xsbt.CompilerInterface.run(CompilerInterface.scala:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41) at org.jetbrains.jps.incremental.scala.local.IdeaIncrementalCompiler.compile(IdeaIncrementalCompiler.scala:29) at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:26) at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:67) at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:24) at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)