diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2012-12-12 16:56:22 +0100 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2012-12-13 11:16:52 +0100 |
commit | b2bec5a1355bd271bed86b071823a64eeafc0618 (patch) | |
tree | d2979ea2fdef462fc2f5dfbfecf22cc986da8dfe /test/files/pos/t911.scala | |
parent | 107afdc95e902a42851603ad7aab2dd5b9d319dc (diff) | |
download | scala-b2bec5a1355bd271bed86b071823a64eeafc0618.tar.gz scala-b2bec5a1355bd271bed86b071823a64eeafc0618.tar.bz2 scala-b2bec5a1355bd271bed86b071823a64eeafc0618.zip |
SI-6809 Forbids deprecated case class definitions without parameter list
This has been deprecated since at least 2.7.7, so it should be good to go.
Diffstat (limited to 'test/files/pos/t911.scala')
-rw-r--r-- | test/files/pos/t911.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/t911.scala b/test/files/pos/t911.scala index 224b14cda3..cfa4f49dc1 100644 --- a/test/files/pos/t911.scala +++ b/test/files/pos/t911.scala @@ -1,6 +1,6 @@ object Test { -def foo : Any = { - case class Foo {} - Foo; -} + def foo: Any = { + case class Foo() {} + Foo; + } } |