diff options
author | Janek Bogucki <janekdb@gmail.com> | 2016-03-22 13:47:40 +0000 |
---|---|---|
committer | Janek Bogucki <janekdb@gmail.com> | 2016-03-26 20:51:01 +0000 |
commit | b6c3be63c3274a09579b1b4391deaa4f0f3c05e7 (patch) | |
tree | 8ff119696aeb5ae60e92908ed030fb90d89e5ab9 /test/files | |
parent | 0e4c39aee4196573e8fb94a01fd92e0be4e4dd05 (diff) | |
download | scala-b6c3be63c3274a09579b1b4391deaa4f0f3c05e7.tar.gz scala-b6c3be63c3274a09579b1b4391deaa4f0f3c05e7.tar.bz2 scala-b6c3be63c3274a09579b1b4391deaa4f0f3c05e7.zip |
Remove deprecated Predef.error
error was deprecated in 2.9.0 but remained to ensure compatibility with sbt.
This changes follows on from an update to the latest sbt version (0.13.11).
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t4365/a_1.scala | 2 | ||||
-rw-r--r-- | test/files/pos/t4365/b_1.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t4365/a_1.scala b/test/files/pos/t4365/a_1.scala index a24b57772d..e7466e0d48 100644 --- a/test/files/pos/t4365/a_1.scala +++ b/test/files/pos/t4365/a_1.scala @@ -9,7 +9,7 @@ trait SeqViewLike[+A, trait Transformed[+B] extends super[GenSeqViewLike].Transformed[B] abstract class AbstractTransformed[+B] extends Seq[B] with Transformed[B] { - def underlying: Coll = error("") + def underlying: Coll = sys.error("") } trait Reversed extends Transformed[A] with super[GenSeqViewLike].Reversed diff --git a/test/files/pos/t4365/b_1.scala b/test/files/pos/t4365/b_1.scala index e1423813f1..1158db6c32 100644 --- a/test/files/pos/t4365/b_1.scala +++ b/test/files/pos/t4365/b_1.scala @@ -10,7 +10,7 @@ self => trait Transformed[+B] { def length: Int = 0 - def apply(idx: Int): B = error("") + def apply(idx: Int): B = sys.error("") } trait Reversed extends Transformed[A] { |