aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/config/JavaPlatform.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix #2186: Synchronize classpath handling with Scala 2.12Guillaume Martres2017-04-111-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | This commit is a very crude port of the classpath handling as it exists in the 2.12.x branch of scalac (hash: 232d95a198c94da0c6c8393624e83e9b9ac84e81), this replaces the existing Classpath code that was adapted from scalac years ago. This code was written by Grzegorz Kossakowski, MichaƂ Pociecha, Lukas Rytz, Jason Zaugg and other scalac contributors, many thanks to them! For more information on this implementation, see the description of the PR that originally added it to scalac: https://github.com/scala/scala/pull/4060 Changes made to the copied code to get it to compile with dotty: - Rename scala.tools.nsc.util.ClassPath to dotty.tools.io.ClassPath - Rename scala.tools.nsc.classpath.* to dotty.tools.dotc.classpath.* - Replace "private[nsc]" by "private[dotty]" - Changed `isClass` methods in FileUtils to skip Scala 2.11 implementation classes (needed until we stop being retro-compatible with Scala 2.11) I also copied PlainFile.scala from scalac to get access to `PlainNioFile`.
* Construct MethodTypes from parameter closureMartin Odersky2017-03-141-1/+1
| | | | | To allow for dependencies between method type parameters, construct MethodTypes from a closure that maps the currently constructed MethodType to its parameter types.
* Remove hardcoded classpath reorderingGuillaume Martres2017-01-271-2/+0
| | | | | | If something needs to be fixed, fix it at the source. This prevented dotty-compiler-bootstrapped from using the dotty-library-bootstrapped clases instead of the dotty-library jar
* New ShortcutImplicits phaseMartin Odersky2016-12-171-0/+1
| | | | | Optimizes implicit closures by avoiding closure creation where possible.
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+70