cvogt / cbt

CBT - fun, fast, intuitive, compositional, statically checked builds written in Scala
Other
488 stars 60 forks source link

remove NameTransformer #445

Closed cvogt closed 7 years ago

cvogt commented 7 years ago

currently the code is copied over from scalac. Let's call it via reflection instead

cvogt commented 7 years ago
    val scalac = new ScalaCompilerDependency(context.cbtLastModified, context.paths.mavenCache, scalaVersion)
    discoverStaticMethod[String, String](
      scalac.loadClass("scala.reflect.NameTransformer"),
      "decode"
    )
cvogt commented 7 years ago

just relying on scalac now instead. fixed in https://github.com/cvogt/cbt/pull/446