diff options
author | Paul Phillips <paulp@improving.org> | 2009-09-11 15:23:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-09-11 15:23:05 +0000 |
commit | 61ff261346289f7886350a8a4da5688574070e59 (patch) | |
tree | 4869fbb98aebf26b97b473ba27a0ea0deba72874 /test/files/run/t0883.scala | |
parent | 8871528f60958a45eb119a5cc487f87215e4e92f (diff) | |
download | scala-61ff261346289f7886350a8a4da5688574070e59.tar.gz scala-61ff261346289f7886350a8a4da5688574070e59.tar.bz2 scala-61ff261346289f7886350a8a4da5688574070e59.zip |
Deprecated case classes inheriting from other c...
Deprecated case classes inheriting from other case classes, and updated
all the tests which did so.
Diffstat (limited to 'test/files/run/t0883.scala')
-rwxr-xr-x | test/files/run/t0883.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/t0883.scala b/test/files/run/t0883.scala index 5cd4418f5b..b9d71702d8 100755 --- a/test/files/run/t0883.scala +++ b/test/files/run/t0883.scala @@ -1,4 +1,5 @@ -case class Foo(name: String) +object Foo { def apply(x: String) = new Foo(x) } +class Foo(name: String) case object Bar extends Foo("Bar") case class Baz extends Foo("Baz") object Test extends Application { |