Exception in thread "main" scala.tools.nsc.symtab.Types$TypeError: malformed type: test#Bar#T
at scala.tools.nsc.typechecker.Contexts$Context.error(Contexts.scala:194)
at scala.tools.nsc.typechecker.Typers$Typer.reportTypeError(Typers.scala:143)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:1650)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:1668)
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$23.apply(Erasure.scala:618)
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$23.apply(Erasure.scala:615)
at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:41)
at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:615)
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:1039)
|