summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2012-09-26 11:36:01 -0700
committerSom Snytt <som.snytt@gmail.com>2012-12-18 10:34:14 -0800
commitfadb306fdf3d37284fd29c50aa3956cabe79480d (patch)
tree7389f4155de0aae885d6ade1bc82c80e99c8b52c /test/files/pos
parente14917528e1c080a7f10785e21de36f3a7769718 (diff)
downloadscala-fadb306fdf3d37284fd29c50aa3956cabe79480d.tar.gz
scala-fadb306fdf3d37284fd29c50aa3956cabe79480d.tar.bz2
scala-fadb306fdf3d37284fd29c50aa3956cabe79480d.zip
PluginComponent contributes description to -Xshow-phases.
In Global, SubComponent is called a phase descriptor, but it doesn't actually have a description. (Phase itself does.) This fix adds a description to PluginComponent so that plugins can describe what they do in -Xshow-phases. Elliptical descriptions Exploded archives Plugged-in partest Roundup at the Little h!
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t4351.check1
-rw-r--r--test/files/pos/t4351.scala20
2 files changed, 0 insertions, 21 deletions
diff --git a/test/files/pos/t4351.check b/test/files/pos/t4351.check
deleted file mode 100644
index cb5d407e13..0000000000
--- a/test/files/pos/t4351.check
+++ /dev/null
@@ -1 +0,0 @@
-runtime exception
diff --git a/test/files/pos/t4351.scala b/test/files/pos/t4351.scala
deleted file mode 100644
index 2d57588793..0000000000
--- a/test/files/pos/t4351.scala
+++ /dev/null
@@ -1,20 +0,0 @@
-object Test {
- def main(args: Array[String]): Unit = {
- try new BooleanPropImpl() value
- catch {
- case e: RuntimeException => println("runtime exception")
- }
- }
-}
-
-trait Prop[@specialized(Boolean) +T] {
- def value: T
-}
-
-class PropImpl[+T] extends Prop[T] {
- def value: T = scala.sys.error("")
-}
-
-trait BooleanProp extends Prop[Boolean]
-
-class BooleanPropImpl() extends PropImpl[Boolean] with BooleanProp