aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/scala/tools/nsc/io/package.scala
blob: 6b30e54413ed43c92ec5fb14e96bf41e66a3417d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package scala.tools.nsc

/**
 * Compatibility layer needed for the backend.
 *
 * Our backend is based on the Scala 2.11 GenBCode backend and modified so that
 * it compiles both with dotty and scalac, since the backend uses
 * scala.tools.nsc.io.*, we need to also provide it.
 *
 * See http://dotty.epfl.ch/docs/contributing/backend.html for more information.
 */
package object io {
  type AbstractFile = scala.reflect.io.AbstractFile
  val AbstractFile = scala.reflect.io.AbstractFile

  type Directory = scala.reflect.io.Directory
  val Directory = scala.reflect.io.Directory

  type Path = scala.reflect.io.Path
  val Path = scala.reflect.io.Path

  type File = scala.reflect.io.File
  val File = scala.reflect.io.File

  type Jar = dotty.tools.io.Jar
  val Jar = dotty.tools.io.Jar
}