aboutsummaryrefslogtreecommitdiff
path: root/bridge/src/sbt-test/source-dependencies/synthetic-companion
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-10-11 17:28:39 +0200
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:06 +0100
commit2d10c87ce537fb42fdb134efcae53dca7305a7b7 (patch)
treea3629c9a3ad6db3e9d07df8fa8621f8c8211076c /bridge/src/sbt-test/source-dependencies/synthetic-companion
parent34d64f381362b12a595fd26690c7c9b1c26d16f7 (diff)
downloaddotty-2d10c87ce537fb42fdb134efcae53dca7305a7b7.tar.gz
dotty-2d10c87ce537fb42fdb134efcae53dca7305a7b7.tar.bz2
dotty-2d10c87ce537fb42fdb134efcae53dca7305a7b7.zip
Move sbt-bridge
Diffstat (limited to 'bridge/src/sbt-test/source-dependencies/synthetic-companion')
-rw-r--r--bridge/src/sbt-test/source-dependencies/synthetic-companion/A.scala1
-rw-r--r--bridge/src/sbt-test/source-dependencies/synthetic-companion/B.scala3
-rw-r--r--bridge/src/sbt-test/source-dependencies/synthetic-companion/changes/A2.scala2
-rw-r--r--bridge/src/sbt-test/source-dependencies/synthetic-companion/dbg.sbt2
-rw-r--r--bridge/src/sbt-test/source-dependencies/synthetic-companion/project/DottyInjectedPlugin.scala17
-rw-r--r--bridge/src/sbt-test/source-dependencies/synthetic-companion/test4
6 files changed, 0 insertions, 29 deletions
diff --git a/bridge/src/sbt-test/source-dependencies/synthetic-companion/A.scala b/bridge/src/sbt-test/source-dependencies/synthetic-companion/A.scala
deleted file mode 100644
index 9917b2d98..000000000
--- a/bridge/src/sbt-test/source-dependencies/synthetic-companion/A.scala
+++ /dev/null
@@ -1 +0,0 @@
-case class A(x: Int)
diff --git a/bridge/src/sbt-test/source-dependencies/synthetic-companion/B.scala b/bridge/src/sbt-test/source-dependencies/synthetic-companion/B.scala
deleted file mode 100644
index be302fe40..000000000
--- a/bridge/src/sbt-test/source-dependencies/synthetic-companion/B.scala
+++ /dev/null
@@ -1,3 +0,0 @@
-object B {
- A(0)
-}
diff --git a/bridge/src/sbt-test/source-dependencies/synthetic-companion/changes/A2.scala b/bridge/src/sbt-test/source-dependencies/synthetic-companion/changes/A2.scala
deleted file mode 100644
index 3d35a445f..000000000
--- a/bridge/src/sbt-test/source-dependencies/synthetic-companion/changes/A2.scala
+++ /dev/null
@@ -1,2 +0,0 @@
-case class A(x: Int)
-private object A
diff --git a/bridge/src/sbt-test/source-dependencies/synthetic-companion/dbg.sbt b/bridge/src/sbt-test/source-dependencies/synthetic-companion/dbg.sbt
deleted file mode 100644
index 1ac0e14e9..000000000
--- a/bridge/src/sbt-test/source-dependencies/synthetic-companion/dbg.sbt
+++ /dev/null
@@ -1,2 +0,0 @@
-logLevel := Level.Debug
-incOptions ~= { _.copy(apiDebug = true, relationsDebug = true) }
diff --git a/bridge/src/sbt-test/source-dependencies/synthetic-companion/project/DottyInjectedPlugin.scala b/bridge/src/sbt-test/source-dependencies/synthetic-companion/project/DottyInjectedPlugin.scala
deleted file mode 100644
index 3433779b6..000000000
--- a/bridge/src/sbt-test/source-dependencies/synthetic-companion/project/DottyInjectedPlugin.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-import sbt._
-import Keys._
-
-object DottyInjectedPlugin extends AutoPlugin {
- override def requires = plugins.JvmPlugin
- override def trigger = allRequirements
-
- override val projectSettings = Seq(
- scalaVersion := "0.1-SNAPSHOT",
- scalaOrganization := "ch.epfl.lamp",
- scalacOptions += "-language:Scala2",
- scalaBinaryVersion := "2.11",
- autoScalaLibrary := false,
- libraryDependencies ++= Seq("org.scala-lang" % "scala-library" % "2.11.5"),
- scalaCompilerBridgeSource := ("ch.epfl.lamp" % "dotty-bridge" % "0.1.1-SNAPSHOT" % "component").sources()
- )
-}
diff --git a/bridge/src/sbt-test/source-dependencies/synthetic-companion/test b/bridge/src/sbt-test/source-dependencies/synthetic-companion/test
deleted file mode 100644
index f3a023810..000000000
--- a/bridge/src/sbt-test/source-dependencies/synthetic-companion/test
+++ /dev/null
@@ -1,4 +0,0 @@
-> compile
-$ copy-file changes/A2.scala A.scala
-# Compilation of B.scala should fail because object A does not extend `Int => A` anymore
--> compile