diff options
Diffstat (limited to 'test')
362 files changed, 223 insertions, 313 deletions
diff --git a/test/disabled/jvm/libnatives-32.so b/test/disabled/jvm/libnatives-32.so Binary files differindex ccbcdd646f..ccbcdd646f 100755..100644 --- a/test/disabled/jvm/libnatives-32.so +++ b/test/disabled/jvm/libnatives-32.so diff --git a/test/disabled/jvm/libnatives-64.so b/test/disabled/jvm/libnatives-64.so Binary files differindex 8cc6152057..8cc6152057 100755..100644 --- a/test/disabled/jvm/libnatives-64.so +++ b/test/disabled/jvm/libnatives-64.so diff --git a/test/disabled/jvm/libnatives.jnilib b/test/disabled/jvm/libnatives.jnilib Binary files differindex daac50e3df..daac50e3df 100755..100644 --- a/test/disabled/jvm/libnatives.jnilib +++ b/test/disabled/jvm/libnatives.jnilib diff --git a/test/disabled/jvm/mkLibNatives.bat b/test/disabled/jvm/mkLibNatives.bat index 045afe0ca2..100246af79 100755 --- a/test/disabled/jvm/mkLibNatives.bat +++ b/test/disabled/jvm/mkLibNatives.bat @@ -2,7 +2,6 @@ rem ##########################################################################
rem # Author : Stephane Micheloud
-rem # Revision: $Id$
rem ##########################################################################
rem ##########################################################################
diff --git a/test/disabled/jvm/natives-32.dll b/test/disabled/jvm/natives-32.dll Binary files differindex a06c1da3e3..a06c1da3e3 100755..100644 --- a/test/disabled/jvm/natives-32.dll +++ b/test/disabled/jvm/natives-32.dll diff --git a/test/disabled/jvm/serialization.check b/test/disabled/jvm/serialization.check index 7125d4bfab..7125d4bfab 100755..100644 --- a/test/disabled/jvm/serialization.check +++ b/test/disabled/jvm/serialization.check diff --git a/test/disabled/jvm/serialization.scala b/test/disabled/jvm/serialization.scala index 6caf8209ff..3d2adc418f 100755..100644 --- a/test/disabled/jvm/serialization.scala +++ b/test/disabled/jvm/serialization.scala @@ -1,7 +1,6 @@ //############################################################################ // Serialization //############################################################################ -// $Id: serialization.scala 15934 2008-08-26 12:10:05Z michelou $ import java.lang.System diff --git a/test/disabled/run/deeps.scala b/test/disabled/run/deeps.scala index 662008f3f3..c93c040ef8 100644 --- a/test/disabled/run/deeps.scala +++ b/test/disabled/run/deeps.scala @@ -1,7 +1,6 @@ //############################################################################ // deepEquals / deepToString //############################################################################ -// $Id: $ //############################################################################ // need to revisit array equqality diff --git a/test/disabled/script/fact.args b/test/disabled/script/fact.args index 7813681f5b..7ed6ff82de 100644 --- a/test/disabled/script/fact.args +++ b/test/disabled/script/fact.args @@ -1 +1 @@ -5
\ No newline at end of file +5 diff --git a/test/files/ant/fsc-build.xml b/test/files/ant/fsc-build.xml index a3b3d2cb0d..9323be1c82 100644 --- a/test/files/ant/fsc-build.xml +++ b/test/files/ant/fsc-build.xml @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Id$ --> <project name="fsc" default="run" basedir="."> diff --git a/test/files/ant/imported.xml b/test/files/ant/imported.xml index f728a00e97..9e2a3ffa1f 100644 --- a/test/files/ant/imported.xml +++ b/test/files/ant/imported.xml @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Id$ --> <project name="imported" default="run" basedir="."> diff --git a/test/files/ant/scalac-build.xml b/test/files/ant/scalac-build.xml index b727737248..0276124852 100644 --- a/test/files/ant/scalac-build.xml +++ b/test/files/ant/scalac-build.xml @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Id$ --> <project name="scalac" default="run" basedir="."> diff --git a/test/files/ant/scaladoc-build.xml b/test/files/ant/scaladoc-build.xml index e854af772b..839c7bde21 100644 --- a/test/files/ant/scaladoc-build.xml +++ b/test/files/ant/scaladoc-build.xml @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Id: $ --> <project name="scaladoc" default="run" basedir="."> diff --git a/test/files/cli/test3/Main.java b/test/files/cli/test3/Main.java index 89800b43d2..208863d012 100644 --- a/test/files/cli/test3/Main.java +++ b/test/files/cli/test3/Main.java @@ -7,4 +7,4 @@ public class Main { System.out.print("3: "); test2.Main.main(args); } -}
\ No newline at end of file +} diff --git a/test/files/cli/test3/Main.scala b/test/files/cli/test3/Main.scala index c97e18c249..63fc11b771 100644 --- a/test/files/cli/test3/Main.scala +++ b/test/files/cli/test3/Main.scala @@ -7,4 +7,4 @@ object Main { Console.print("3: ") test2.Main.main(args) } -}
\ No newline at end of file +} diff --git a/test/files/jvm/JavaInteraction.scala b/test/files/jvm/JavaInteraction.scala index 2728a5aee4..1316fad5d4 100644 --- a/test/files/jvm/JavaInteraction.scala +++ b/test/files/jvm/JavaInteraction.scala @@ -1,7 +1,6 @@ //############################################################################ // Test Java interaction //############################################################################ -// $Id$ import java.awt.Color; import java.awt.Point; diff --git a/test/files/jvm/bigints.scala b/test/files/jvm/bigints.scala index 4fae613ad5..0342c3007e 100644 --- a/test/files/jvm/bigints.scala +++ b/test/files/jvm/bigints.scala @@ -1,7 +1,6 @@ //############################################################################ // BigInt, BigDecimal //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/jvm/inner.scala b/test/files/jvm/inner.scala index 4ad1f1e215..ce4de718e6 100644 --- a/test/files/jvm/inner.scala +++ b/test/files/jvm/inner.scala @@ -1,7 +1,6 @@ //############################################################################ // Test Java interaction with scala inner classes //############################################################################ -// $Id$ import java.io.{BufferedReader, File, FileWriter, InputStreamReader} diff --git a/test/files/jvm/mkAnnotationsJar.sh b/test/files/jvm/mkAnnotationsJar.sh index 0cd5e631a7..3d69351165 100755 --- a/test/files/jvm/mkAnnotationsJar.sh +++ b/test/files/jvm/mkAnnotationsJar.sh @@ -2,7 +2,6 @@ ############################################################################## # Author : Nikolay Mihaylov -# Revision: $Id$ ############################################################################## ############################################################################## diff --git a/test/files/jvm/nest.scala b/test/files/jvm/nest.scala index 60f3a3155f..3ab62484fa 100644 --- a/test/files/jvm/nest.scala +++ b/test/files/jvm/nest.scala @@ -1,7 +1,6 @@ //############################################################################ // Test Scala interaction with Java nested classes and static members. //############################################################################ -// $Id: inner.scala 8902 2006-10-10 10:58:10 +0200 (Tue, 10 Oct 2006) mihaylov $ /** found in nest.jar, compiled from nest.java */ import nestpkg._; diff --git a/test/files/jvm/protectedacc.scala b/test/files/jvm/protectedacc.scala index f5d05e21b4..c3b07a0a7e 100644 --- a/test/files/jvm/protectedacc.scala +++ b/test/files/jvm/protectedacc.scala @@ -1,7 +1,6 @@ //############################################################################ // Test Java interaction with scala inner classes //############################################################################ -// $Id: $ import java.io.{BufferedReader, File, FileWriter, InputStreamReader} diff --git a/test/files/jvm/stringbuilder.scala b/test/files/jvm/stringbuilder.scala index cbbfa022b0..bacd13c715 100644 --- a/test/files/jvm/stringbuilder.scala +++ b/test/files/jvm/stringbuilder.scala @@ -1,5 +1,3 @@ -/* $Id$ */ - import testing.SUnit._ /** Test the Scala implementation of class <code>scala.StringBuilder</code>. diff --git a/test/files/jvm/t1652.check b/test/files/jvm/t1652.check index dfa480ce6e..dfa480ce6e 100755..100644 --- a/test/files/jvm/t1652.check +++ b/test/files/jvm/t1652.check diff --git a/test/files/jvm/ticket2163/ticket2163.java b/test/files/jvm/ticket2163/ticket2163.java index f8f26f0140..b6511d241c 100644 --- a/test/files/jvm/ticket2163/ticket2163.java +++ b/test/files/jvm/ticket2163/ticket2163.java @@ -6,4 +6,4 @@ public class ticket2163 { Ticket2163Scala<List> foo = new Ticket2163Scala<List>(array); foo.bar(array); } -}
\ No newline at end of file +} diff --git a/test/files/jvm/ticket2163/ticket2163.scala b/test/files/jvm/ticket2163/ticket2163.scala index b6c51f41fb..d30bfe251b 100644 --- a/test/files/jvm/ticket2163/ticket2163.scala +++ b/test/files/jvm/ticket2163/ticket2163.scala @@ -2,4 +2,4 @@ class Ticket2163Scala[CC[X]](x: CC[Int]) { def bar[DD[X]](meh: DD[Int]): CC[Int] = x } -object Test extends Application {}
\ No newline at end of file +object Test extends Application {} diff --git a/test/files/jvm/typerep.check b/test/files/jvm/typerep.check index ca93180946..ca93180946 100755..100644 --- a/test/files/jvm/typerep.check +++ b/test/files/jvm/typerep.check diff --git a/test/files/jvm/typerep.scala b/test/files/jvm/typerep.scala index fc94817adf..51a848240a 100755..100644 --- a/test/files/jvm/typerep.scala +++ b/test/files/jvm/typerep.scala @@ -1,7 +1,6 @@ //############################################################################ // Type Representation at runtime //############################################################################ -// $Id: $ import TypeRep._ diff --git a/test/files/neg/badtok-1.scala b/test/files/neg/badtok-1.scala index 739ea20739..706e794946 100644 --- a/test/files/neg/badtok-1.scala +++ b/test/files/neg/badtok-1.scala @@ -1,2 +1,2 @@ // bug 989 -'42'
\ No newline at end of file +'42' diff --git a/test/files/neg/badtok-2.scala b/test/files/neg/badtok-2.scala index 2074abe06c..4d1ba1b2cc 100644 --- a/test/files/neg/badtok-2.scala +++ b/test/files/neg/badtok-2.scala @@ -1,3 +1,3 @@ //bug 990 object Test { -`x
\ No newline at end of file +`x diff --git a/test/files/neg/badtok-3.check b/test/files/neg/badtok-3.check index ec1b0591fa..aee4f6f4db 100644 --- a/test/files/neg/badtok-3.check +++ b/test/files/neg/badtok-3.check @@ -1,4 +1,4 @@ badtok-3.scala:2: error: input ended while parsing XML <x - ^ + ^ one error found diff --git a/test/files/neg/badtok-3.scala b/test/files/neg/badtok-3.scala index 66bfb308e6..49ad3bf9ed 100644 --- a/test/files/neg/badtok-3.scala +++ b/test/files/neg/badtok-3.scala @@ -1,2 +1,2 @@ object Test { - <x
\ No newline at end of file + <x diff --git a/test/files/neg/bug1106.scala b/test/files/neg/bug1106.scala index 36b5a0ec8f..a218eee7a1 100644 --- a/test/files/neg/bug1106.scala +++ b/test/files/neg/bug1106.scala @@ -2,4 +2,4 @@ class Par[S] val p = new Par[String] class Foo[T[x]<:Par[x]](t: T[String]) -new Foo[p.type](p) // crashes compiler
\ No newline at end of file +new Foo[p.type](p) // crashes compiler diff --git a/test/files/neg/bug112706A.scala b/test/files/neg/bug112706A.scala index af8491e6ef..11304720bc 100644 --- a/test/files/neg/bug112706A.scala +++ b/test/files/neg/bug112706A.scala @@ -5,4 +5,4 @@ trait Test { case Tuple2(node,_) => } } -}
\ No newline at end of file +} diff --git a/test/files/neg/bug1224.scala b/test/files/neg/bug1224.scala index 35e01fa379..35e01fa379 100755..100644 --- a/test/files/neg/bug1224.scala +++ b/test/files/neg/bug1224.scala diff --git a/test/files/neg/bug1286/a.scala b/test/files/neg/bug1286/a.scala index 0300ce793c..85ffe3bb58 100644 --- a/test/files/neg/bug1286/a.scala +++ b/test/files/neg/bug1286/a.scala @@ -1,3 +1,3 @@ trait Foo { def jump = Foo.x -}
\ No newline at end of file +} diff --git a/test/files/neg/bug1286/b.scala b/test/files/neg/bug1286/b.scala index 0df474461e..48f3b440c2 100644 --- a/test/files/neg/bug1286/b.scala +++ b/test/files/neg/bug1286/b.scala @@ -1,3 +1,3 @@ object Foo extends Foo { val x = "x" -}
\ No newline at end of file +} diff --git a/test/files/neg/bug1392.scala b/test/files/neg/bug1392.scala index bb23818038..54a4b9e908 100644 --- a/test/files/neg/bug1392.scala +++ b/test/files/neg/bug1392.scala @@ -1 +1 @@ -object X extends Application { Int }
\ No newline at end of file +object X extends Application { Int } diff --git a/test/files/neg/bug1523.scala b/test/files/neg/bug1523.scala index cd287759d9..219fb0c060 100644 --- a/test/files/neg/bug1523.scala +++ b/test/files/neg/bug1523.scala @@ -2,4 +2,4 @@ object test { def bug(x: Any) = x def go() = bug("a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a", "a") -}
\ No newline at end of file +} diff --git a/test/files/neg/bug1623.scala b/test/files/neg/bug1623.scala index d98670a681..1c368e7ef5 100644 --- a/test/files/neg/bug1623.scala +++ b/test/files/neg/bug1623.scala @@ -9,4 +9,4 @@ class BImpl extends B { object Test2 extends Application { val b = new BImpl -}
\ No newline at end of file +} diff --git a/test/files/neg/bug1838.scala b/test/files/neg/bug1838.scala index 7c418e74e1..36eeb4050a 100644 --- a/test/files/neg/bug1838.scala +++ b/test/files/neg/bug1838.scala @@ -4,4 +4,4 @@ class A { sealed class B sealed def f = 0 sealed val v = 0 -}
\ No newline at end of file +} diff --git a/test/files/neg/bug1878.scala b/test/files/neg/bug1878.scala index da22f2a4ea..df0e1b6caf 100644 --- a/test/files/neg/bug1878.scala +++ b/test/files/neg/bug1878.scala @@ -12,4 +12,4 @@ object Test extends Application { null match { case <p> { _* } </p> => } -}
\ No newline at end of file +} diff --git a/test/files/neg/bug2102.scala b/test/files/neg/bug2102.scala index 6a85eba0ae..9c37039039 100644 --- a/test/files/neg/bug2102.scala +++ b/test/files/neg/bug2102.scala @@ -1,3 +1,3 @@ object Test { val x: Iterator[_] = new java.util.ArrayList[Int]().iterator -}
\ No newline at end of file +} diff --git a/test/files/neg/bug276.scala b/test/files/neg/bug276.scala index e083e21705..dfc8b468df 100644 --- a/test/files/neg/bug276.scala +++ b/test/files/neg/bug276.scala @@ -4,4 +4,4 @@ class Foo { class FooFoo extends Foo { class Bar -}
\ No newline at end of file +} diff --git a/test/files/neg/bug278.scala b/test/files/neg/bug278.scala index 668deca102..16ffe10595 100644 --- a/test/files/neg/bug278.scala +++ b/test/files/neg/bug278.scala @@ -3,4 +3,4 @@ class C { def a = () => () def a = (p:A) => () a[A] -}
\ No newline at end of file +} diff --git a/test/files/neg/bug284.scala b/test/files/neg/bug284.scala index c1817466b5..a210130102 100644 --- a/test/files/neg/bug284.scala +++ b/test/files/neg/bug284.scala @@ -3,4 +3,4 @@ trait B[T] { def f2(a: T): Unit def f3(a: T) { } } -}
\ No newline at end of file +} diff --git a/test/files/neg/bug473.scala b/test/files/neg/bug473.scala index 4c434b9fc0..c7631705ac 100644 --- a/test/files/neg/bug473.scala +++ b/test/files/neg/bug473.scala @@ -1,3 +1,3 @@ class Foo(x: Foo) case object Bar extends Foo(null) -case object Voop extends Foo(Voop)
\ No newline at end of file +case object Voop extends Foo(Voop) diff --git a/test/files/neg/bug545.scala b/test/files/neg/bug545.scala index 4063b71fd1..f1f9909dcb 100644 --- a/test/files/neg/bug545.scala +++ b/test/files/neg/bug545.scala @@ -6,4 +6,4 @@ object Test { case Nil => null case _ => throw new Error("too many!") } -}
\ No newline at end of file +} diff --git a/test/files/neg/bug693.scala b/test/files/neg/bug693.scala index bc0844bfce..3a9e6247a8 100644 --- a/test/files/neg/bug693.scala +++ b/test/files/neg/bug693.scala @@ -2,4 +2,4 @@ abstract class test4 { trait Type; val x : Type = null; val x : Int = 10; -}
\ No newline at end of file +} diff --git a/test/files/neg/bug882.scala b/test/files/neg/bug882.scala index 5a8908befc..5a8908befc 100755..100644 --- a/test/files/neg/bug882.scala +++ b/test/files/neg/bug882.scala diff --git a/test/files/neg/bug935.scala b/test/files/neg/bug935.scala index 20654a3f56..8677efaf3f 100644 --- a/test/files/neg/bug935.scala +++ b/test/files/neg/bug935.scala @@ -9,4 +9,4 @@ object Test4 { class E[T <: String](s: T) extends Annotation class B val b: String @E[B](new B) = "hi" -}
\ No newline at end of file +} diff --git a/test/files/neg/bug944.scala b/test/files/neg/bug944.scala index 154e91c8ee..dc80e5f49f 100644 --- a/test/files/neg/bug944.scala +++ b/test/files/neg/bug944.scala @@ -3,4 +3,4 @@ object TooManyArgsFunction { a9:Int, a10:Int, a11:Int, a12:Int, a13:Int, a14:Int, a15:Int, a16:Int, a17:Int, a18:Int, a19:Int, a20:Int, a21:Int, a22:Int, a23:Int) => 1 -}
\ No newline at end of file +} diff --git a/test/files/neg/bug960.scala b/test/files/neg/bug960.scala index 5101cf8433..5101cf8433 100755..100644 --- a/test/files/neg/bug960.scala +++ b/test/files/neg/bug960.scala diff --git a/test/files/neg/bug961.scala b/test/files/neg/bug961.scala index 15309b96b4..15309b96b4 100755..100644 --- a/test/files/neg/bug961.scala +++ b/test/files/neg/bug961.scala diff --git a/test/files/neg/bug997.scala b/test/files/neg/bug997.scala index b6897e62df..b6897e62df 100755..100644 --- a/test/files/neg/bug997.scala +++ b/test/files/neg/bug997.scala diff --git a/test/files/neg/higherkind_novalue.scala b/test/files/neg/higherkind_novalue.scala index c2e117b60e..9c1480c3b8 100644 --- a/test/files/neg/higherkind_novalue.scala +++ b/test/files/neg/higherkind_novalue.scala @@ -1,4 +1,4 @@ abstract class HigherKind[m[s]] { val x: m // type of kind *->* doesn't classify a value, but a val/def/... can only contain/return a value def y: m -}
\ No newline at end of file +} diff --git a/test/files/neg/pat_unreachable.scala b/test/files/neg/pat_unreachable.scala index c07be8edf0..04a7fa580c 100644 --- a/test/files/neg/pat_unreachable.scala +++ b/test/files/neg/pat_unreachable.scala @@ -17,4 +17,4 @@ object Test extends Application { case Seq(x, y) => x::y::Nil case Seq(x, y, z, _*) => List(x,y) } -}
\ No newline at end of file +} diff --git a/test/files/neg/patternalts.scala b/test/files/neg/patternalts.scala index 513b81eb5e..539df43201 100644 --- a/test/files/neg/patternalts.scala +++ b/test/files/neg/patternalts.scala @@ -2,4 +2,4 @@ object Test { List(1) match { case List(x) | List() => Console.println(x) } -}
\ No newline at end of file +} diff --git a/test/files/neg/plugin-after-terminal.check b/test/files/neg/plugin-after-terminal.check index b846dc0ab5..096efe09cd 100644 --- a/test/files/neg/plugin-after-terminal.check +++ b/test/files/neg/plugin-after-terminal.check @@ -1,2 +1,2 @@ error: [phase assembly, after dependency on terminal phase not allowed: afterterminal => terminal] -one error found
\ No newline at end of file +one error found diff --git a/test/files/neg/plugin-after-terminal/misc/scalac-plugin.xml b/test/files/neg/plugin-after-terminal/misc/scalac-plugin.xml index 58fff40950..90ff27dc2a 100644 --- a/test/files/neg/plugin-after-terminal/misc/scalac-plugin.xml +++ b/test/files/neg/plugin-after-terminal/misc/scalac-plugin.xml @@ -1,4 +1,3 @@ -<!-- $Id$ --> <plugin> <name>beforeparser</name> <classname>scala.test.plugins.ThePlugin</classname> diff --git a/test/files/neg/plugin-before-parser.check b/test/files/neg/plugin-before-parser.check index 253659eedb..9a407923b1 100644 --- a/test/files/neg/plugin-before-parser.check +++ b/test/files/neg/plugin-before-parser.check @@ -1,2 +1,2 @@ error: [phase assembly, before dependency on parser phase not allowed: parser => beforeparser] -one error found
\ No newline at end of file +one error found diff --git a/test/files/neg/plugin-before-parser/misc/scalac-plugin.xml b/test/files/neg/plugin-before-parser/misc/scalac-plugin.xml index 58fff40950..90ff27dc2a 100644 --- a/test/files/neg/plugin-before-parser/misc/scalac-plugin.xml +++ b/test/files/neg/plugin-before-parser/misc/scalac-plugin.xml @@ -1,4 +1,3 @@ -<!-- $Id$ --> <plugin> <name>beforeparser</name> <classname>scala.test.plugins.ThePlugin</classname> diff --git a/test/files/neg/plugin-cyclic-dependency.check b/test/files/neg/plugin-cyclic-dependency.check index 7c1aeebfa0..a29bc3f5be 100644 --- a/test/files/neg/plugin-cyclic-dependency.check +++ b/test/files/neg/plugin-cyclic-dependency.check @@ -1,2 +1,2 @@ error: fatal error: Cycle in compiler phase dependencies detected, phase cyclicdependency1 reacted twice! -one error found
\ No newline at end of file +one error found diff --git a/test/files/neg/plugin-cyclic-dependency/misc/scalac-plugin.xml b/test/files/neg/plugin-cyclic-dependency/misc/scalac-plugin.xml index 58fff40950..90ff27dc2a 100644 --- a/test/files/neg/plugin-cyclic-dependency/misc/scalac-plugin.xml +++ b/test/files/neg/plugin-cyclic-dependency/misc/scalac-plugin.xml @@ -1,4 +1,3 @@ -<!-- $Id$ --> <plugin> <name>beforeparser</name> <classname>scala.test.plugins.ThePlugin</classname> diff --git a/test/files/neg/plugin-multiple-rafter.check b/test/files/neg/plugin-multiple-rafter.check index 5ba932413f..c54f884feb 100644 --- a/test/files/neg/plugin-multiple-rafter.check +++ b/test/files/neg/plugin-multiple-rafter.check @@ -1,4 +1,4 @@ error: fatal error: Multiple phases want to run right after the phase explicitouter Phases: erasure, multi-rafter, Re-run with -Xgenerate-phase-graph <filename> to better see the problem. -one error found
\ No newline at end of file +one error found diff --git a/test/files/neg/plugin-multiple-rafter/misc/scalac-plugin.xml b/test/files/neg/plugin-multiple-rafter/misc/scalac-plugin.xml index 58fff40950..90ff27dc2a 100644 --- a/test/files/neg/plugin-multiple-rafter/misc/scalac-plugin.xml +++ b/test/files/neg/plugin-multiple-rafter/misc/scalac-plugin.xml @@ -1,4 +1,3 @@ -<!-- $Id$ --> <plugin> <name>beforeparser</name> <classname>scala.test.plugins.ThePlugin</classname> diff --git a/test/files/neg/plugin-rafter-before-1.check b/test/files/neg/plugin-rafter-before-1.check index 7afe3be031..19ed4d2fba 100644 --- a/test/files/neg/plugin-rafter-before-1.check +++ b/test/files/neg/plugin-rafter-before-1.check @@ -1,2 +1,2 @@ error: fatal error: phase erasure want to run right after explicitouter, but some phase has declared to run before erasure. Re-run with -Xgenerate-phase-graph <filename> to better see the problem. -one error found
\ No newline at end of file +one error found diff --git a/test/files/neg/plugin-rafter-before-1/misc/scalac-plugin.xml b/test/files/neg/plugin-rafter-before-1/misc/scalac-plugin.xml index 58fff40950..90ff27dc2a 100644 --- a/test/files/neg/plugin-rafter-before-1/misc/scalac-plugin.xml +++ b/test/files/neg/plugin-rafter-before-1/misc/scalac-plugin.xml @@ -1,4 +1,3 @@ -<!-- $Id$ --> <plugin> <name>beforeparser</name> <classname>scala.test.plugins.ThePlugin</classname> diff --git a/test/files/neg/plugin-rightafter-terminal.check b/test/files/neg/plugin-rightafter-terminal.check index 8107c373e0..6fe4f63c82 100644 --- a/test/files/neg/plugin-rightafter-terminal.check +++ b/test/files/neg/plugin-rightafter-terminal.check @@ -1,2 +1,2 @@ error: [phase assembly, right after dependency on terminal phase not allowed: rightafterterminal => terminal] -one error found
\ No newline at end of file +one error found diff --git a/test/files/neg/plugin-rightafter-terminal/misc/scalac-plugin.xml b/test/files/neg/plugin-rightafter-terminal/misc/scalac-plugin.xml index 58fff40950..90ff27dc2a 100644 --- a/test/files/neg/plugin-rightafter-terminal/misc/scalac-plugin.xml +++ b/test/files/neg/plugin-rightafter-terminal/misc/scalac-plugin.xml @@ -1,4 +1,3 @@ -<!-- $Id$ --> <plugin> <name>beforeparser</name> <classname>scala.test.plugins.ThePlugin</classname> diff --git a/test/files/neg/structural.scala b/test/files/neg/structural.scala index ae15c4b166..dd8817d902 100644 --- a/test/files/neg/structural.scala +++ b/test/files/neg/structural.scala @@ -42,4 +42,4 @@ object Test extends Application { type Summable[T] = { def +(v : T) : T } def sum[T <: Summable[T]](xs : List[T]) = xs.reduceLeft[T](_ + _) -}
\ No newline at end of file +} diff --git a/test/files/neg/switch.scala b/test/files/neg/switch.scala index a5a6f9e789..da7c867ba0 100644 --- a/test/files/neg/switch.scala +++ b/test/files/neg/switch.scala @@ -63,4 +63,4 @@ object Main { case 5|6|7|8 => 100 case _ => -1 } -}
\ No newline at end of file +} diff --git a/test/files/neg/t0117.scala b/test/files/neg/t0117.scala index dd200b1cf9..dd200b1cf9 100755..100644 --- a/test/files/neg/t0117.scala +++ b/test/files/neg/t0117.scala diff --git a/test/files/neg/t0152.check b/test/files/neg/t0152.check index 562e6f1c2c..84f78dc83c 100644 --- a/test/files/neg/t0152.check +++ b/test/files/neg/t0152.check @@ -1,6 +1,6 @@ t0152.scala:10: error: illegal inheritance; object boom inherits different type instances of class Value: Value[Int] and Value[java.lang.String] - object boom extends Value[java.lang.String]("foo") with PlusOne
+ object boom extends Value[java.lang.String]("foo") with PlusOne ^ one error found diff --git a/test/files/neg/t0152.scala b/test/files/neg/t0152.scala index eef69bf767..eef69bf767 100755..100644 --- a/test/files/neg/t0152.scala +++ b/test/files/neg/t0152.scala diff --git a/test/files/neg/t0204.check b/test/files/neg/t0204.check index 27b88d21d2..0f7acfddde 100644 --- a/test/files/neg/t0204.check +++ b/test/files/neg/t0204.check @@ -1,4 +1,4 @@ t0204.scala:4: error: class type required but Program.A{type T = String} found - trait C extends B
+ trait C extends B ^ one error found diff --git a/test/files/neg/t0204.scala b/test/files/neg/t0204.scala index 0de9d9d16d..0de9d9d16d 100755..100644 --- a/test/files/neg/t0204.scala +++ b/test/files/neg/t0204.scala diff --git a/test/files/neg/t0207.scala b/test/files/neg/t0207.scala index d9df0ca951..d9df0ca951 100755..100644 --- a/test/files/neg/t0207.scala +++ b/test/files/neg/t0207.scala diff --git a/test/files/neg/t0209.scala b/test/files/neg/t0209.scala index ecbe183e35..ecbe183e35 100755..100644 --- a/test/files/neg/t0209.scala +++ b/test/files/neg/t0209.scala diff --git a/test/files/neg/t0214.scala b/test/files/neg/t0214.scala index bdc42bfd78..bdc42bfd78 100755..100644 --- a/test/files/neg/t0214.scala +++ b/test/files/neg/t0214.scala diff --git a/test/files/neg/t0218.check b/test/files/neg/t0218.check index c7a6d952b9..6bb759156f 100644 --- a/test/files/neg/t0218.check +++ b/test/files/neg/t0218.check @@ -1,4 +1,4 @@ t0218.scala:10: error: class type required but APQ.this.P found - List(new PP)
+ List(new PP) ^ one error found diff --git a/test/files/neg/t0218.scala b/test/files/neg/t0218.scala index 282e85e814..282e85e814 100755..100644 --- a/test/files/neg/t0218.scala +++ b/test/files/neg/t0218.scala diff --git a/test/files/neg/t0226.scala b/test/files/neg/t0226.scala index beca3cd645..beca3cd645 100755..100644 --- a/test/files/neg/t0226.scala +++ b/test/files/neg/t0226.scala diff --git a/test/files/neg/t0345.scala b/test/files/neg/t0345.scala index f3652c183b..f3652c183b 100755..100644 --- a/test/files/neg/t0345.scala +++ b/test/files/neg/t0345.scala diff --git a/test/files/neg/t0351.check b/test/files/neg/t0351.check index d374c905ed..ce10605eca 100644 --- a/test/files/neg/t0351.check +++ b/test/files/neg/t0351.check @@ -1,4 +1,4 @@ t0351.scala:2: error: no by-name parameter type allowed here - def identity[T](x : => T) : (=> T)
+ def identity[T](x : => T) : (=> T) ^ one error found diff --git a/test/files/neg/t0351.scala b/test/files/neg/t0351.scala index 665bd89da4..665bd89da4 100755..100644 --- a/test/files/neg/t0351.scala +++ b/test/files/neg/t0351.scala diff --git a/test/files/neg/t0699/A.scala b/test/files/neg/t0699/A.scala index 740d8ecda3..a75ebbd252 100644 --- a/test/files/neg/t0699/A.scala +++ b/test/files/neg/t0699/A.scala @@ -1,4 +1,4 @@ object A { sealed trait T sealed class C -}
\ No newline at end of file +} diff --git a/test/files/neg/t0699/B.scala b/test/files/neg/t0699/B.scala index f1f17efe8f..d27ad16eeb 100644 --- a/test/files/neg/t0699/B.scala +++ b/test/files/neg/t0699/B.scala @@ -2,4 +2,4 @@ object B { trait T1 extends A.T trait T2 extends A.C class C1 extends A.C -}
\ No newline at end of file +} diff --git a/test/files/neg/t0842.check b/test/files/neg/t0842.check index 5f88f08194..3351aa1174 100644 --- a/test/files/neg/t0842.check +++ b/test/files/neg/t0842.check @@ -1,4 +1,4 @@ t0842.scala:1: error: A.this.type does not take type parameters -trait A[T] { def m: this.type[T] = this }
+trait A[T] { def m: this.type[T] = this } ^ one error found diff --git a/test/files/neg/t0842.scala b/test/files/neg/t0842.scala index f32c2ba26d..f32c2ba26d 100755..100644 --- a/test/files/neg/t0842.scala +++ b/test/files/neg/t0842.scala diff --git a/test/files/neg/t1049.check b/test/files/neg/t1049.check index 4a63cb175d..4a63cb175d 100755..100644 --- a/test/files/neg/t1049.check +++ b/test/files/neg/t1049.check diff --git a/test/files/neg/t1049.scala b/test/files/neg/t1049.scala index 2f59ed3c09..2f59ed3c09 100755..100644 --- a/test/files/neg/t1049.scala +++ b/test/files/neg/t1049.scala diff --git a/test/files/neg/t1701.scala b/test/files/neg/t1701.scala index 7cd6ff9953..7cd6ff9953 100755..100644 --- a/test/files/neg/t1701.scala +++ b/test/files/neg/t1701.scala diff --git a/test/files/neg/t1705.scala b/test/files/neg/t1705.scala index fabdca0ec6..fabdca0ec6 100755..100644 --- a/test/files/neg/t1705.scala +++ b/test/files/neg/t1705.scala diff --git a/test/files/neg/tcpoly_bounds.scala b/test/files/neg/tcpoly_bounds.scala index ae1f410fac..b444c59b3e 100644 --- a/test/files/neg/tcpoly_bounds.scala +++ b/test/files/neg/tcpoly_bounds.scala @@ -1,3 +1,3 @@ class A[m[x] <: Option[x]] object a extends A[Some] -object b extends A[List]
\ No newline at end of file +object b extends A[List] diff --git a/test/files/neg/tcpoly_override.scala b/test/files/neg/tcpoly_override.scala index f2c3b04413..7f64ad0d5f 100644 --- a/test/files/neg/tcpoly_override.scala +++ b/test/files/neg/tcpoly_override.scala @@ -7,4 +7,4 @@ trait B // First-order type class C extends A { type T = B // This compiles well (@M: ... but it shouldn't) -}
\ No newline at end of file +} diff --git a/test/files/neg/tcpoly_variance.scala b/test/files/neg/tcpoly_variance.scala index 8122938113..52c1452162 100644 --- a/test/files/neg/tcpoly_variance.scala +++ b/test/files/neg/tcpoly_variance.scala @@ -4,4 +4,4 @@ class A[m[x]] { class B[m[x]] extends A[m] { override def str: m[String] = error("foo") // since x in m[x] is invariant, ! m[String] <: m[Object] -}
\ No newline at end of file +} diff --git a/test/files/neg/tcpoly_variance_enforce.scala b/test/files/neg/tcpoly_variance_enforce.scala index e2fea37fff..f3962d6757 100644 --- a/test/files/neg/tcpoly_variance_enforce.scala +++ b/test/files/neg/tcpoly_variance_enforce.scala @@ -39,4 +39,4 @@ object test { } -// TODO: need test for rank N with N >: 2
\ No newline at end of file +// TODO: need test for rank N with N >: 2 diff --git a/test/files/neg/ticket513.scala b/test/files/neg/ticket513.scala index e8510558b0..5aecc7a05f 100644 --- a/test/files/neg/ticket513.scala +++ b/test/files/neg/ticket513.scala @@ -3,4 +3,4 @@ class NotThatBound trait T[A <: Bound] trait Wrap[X] -object Wrong extends Wrap[T[NotThatBound]]
\ No newline at end of file +object Wrong extends Wrap[T[NotThatBound]] diff --git a/test/files/neg/unit2anyref.scala b/test/files/neg/unit2anyref.scala index 3f5c2d19a9..1e9cdbf783 100644 --- a/test/files/neg/unit2anyref.scala +++ b/test/files/neg/unit2anyref.scala @@ -1,3 +1,3 @@ object Test { val x: AnyRef = () // this should not succeed. -}
\ No newline at end of file +} diff --git a/test/files/neg/wellkinded_app2.scala b/test/files/neg/wellkinded_app2.scala index 5b73611964..7bb4c87f6b 100644 --- a/test/files/neg/wellkinded_app2.scala +++ b/test/files/neg/wellkinded_app2.scala @@ -1,4 +1,4 @@ // test well-kindedness checks class WellKinded[s <: Throwable] { val foo: s[Int] -}
\ No newline at end of file +} diff --git a/test/files/neg/wellkinded_bounds.scala b/test/files/neg/wellkinded_bounds.scala index 7b80ce1cf7..cfa5e74c11 100644 --- a/test/files/neg/wellkinded_bounds.scala +++ b/test/files/neg/wellkinded_bounds.scala @@ -1,3 +1,3 @@ // test well-kindedness checks -- syntax error class WellKindedWrongSyntax[s <: List] { // must be s[x] <: List[x] -}
\ No newline at end of file +} diff --git a/test/files/neg/wellkinded_wrongarity.scala b/test/files/neg/wellkinded_wrongarity.scala index 39f8b7a2c3..2bb0e2ce8a 100644 --- a/test/files/neg/wellkinded_wrongarity.scala +++ b/test/files/neg/wellkinded_wrongarity.scala @@ -2,4 +2,4 @@ class Monad[m[x]] -object mp extends Monad[Pair]
\ No newline at end of file +object mp extends Monad[Pair] diff --git a/test/files/neg/wellkinded_wrongarity2.scala b/test/files/neg/wellkinded_wrongarity2.scala index 3154732672..aac617bd87 100644 --- a/test/files/neg/wellkinded_wrongarity2.scala +++ b/test/files/neg/wellkinded_wrongarity2.scala @@ -9,4 +9,4 @@ trait ms3[m[_], t] extends Monad[m[t]] // wrong -- added to check regression on // expecting types of kind * trait Foo[x] trait Bar1[m[_]] extends Foo[m[Int]] // check that m[Int] is properly recognized as kind-* -trait Bar2[m[_]] extends Foo[m] // check that m is properly recognized as kind *->*, while * is expected
\ No newline at end of file +trait Bar2[m[_]] extends Foo[m] // check that m is properly recognized as kind *->*, while * is expected diff --git a/test/files/pos/attributes.scala b/test/files/pos/attributes.scala index 55e3f6d4ac..f3bbb4c42e 100644 --- a/test/files/pos/attributes.scala +++ b/test/files/pos/attributes.scala @@ -1,5 +1,3 @@ -/* $Id$ */ - @serializable class C1; @serializable @volatile class C2; @serializable @volatile class C3; diff --git a/test/files/pos/bug1085.scala b/test/files/pos/bug1085.scala index 8330b7e399..c59e657cb2 100644 --- a/test/files/pos/bug1085.scala +++ b/test/files/pos/bug1085.scala @@ -6,4 +6,4 @@ object Test { def listFunctor[a]: Functor[a]{type MyType[x]=List[x]} = new Functor[a] { type MyType[t]=List[t] } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1090.scala b/test/files/pos/bug1090.scala index 044e327e89..a9bce90b00 100644 --- a/test/files/pos/bug1090.scala +++ b/test/files/pos/bug1090.scala @@ -13,4 +13,4 @@ object Test { case node : NodeImpl => } } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug116.scala b/test/files/pos/bug116.scala index b02c81f0b7..1e31b71bf0 100644 --- a/test/files/pos/bug116.scala +++ b/test/files/pos/bug116.scala @@ -1,5 +1,3 @@ -// $Id$ - class C { def this(x: Int) = { this(); diff --git a/test/files/pos/bug1210.scala b/test/files/pos/bug1210.scala index eb163a956e..eb163a956e 100755..100644 --- a/test/files/pos/bug1210.scala +++ b/test/files/pos/bug1210.scala diff --git a/test/files/pos/bug1210a.scala b/test/files/pos/bug1210a.scala index 7daf7f1179..b3492f96e4 100755..100644 --- a/test/files/pos/bug1210a.scala +++ b/test/files/pos/bug1210a.scala @@ -12,4 +12,4 @@ trait FP { abstract class Test[T] { val v: Test[T] = v.v } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1292.scala b/test/files/pos/bug1292.scala index 83a996d530..83a996d530 100755..100644 --- a/test/files/pos/bug1292.scala +++ b/test/files/pos/bug1292.scala diff --git a/test/files/pos/bug1381.scala b/test/files/pos/bug1381.scala index b569d7d8bc..0762891898 100644 --- a/test/files/pos/bug1381.scala +++ b/test/files/pos/bug1381.scala @@ -28,4 +28,4 @@ abstract class EV[T](initval:T) extends PV[T](initval) with IV { override def d : ID[VT] = null // Comment this out to eliminate crash protected var indx = d.index(initval) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1385.scala b/test/files/pos/bug1385.scala index ec3efbbab6..55356c1f25 100644 --- a/test/files/pos/bug1385.scala +++ b/test/files/pos/bug1385.scala @@ -1,3 +1,3 @@ @serializable object Test { private def readResolve:AnyRef = this -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1560.scala b/test/files/pos/bug1560.scala index 700252328f..384e808e4b 100644 --- a/test/files/pos/bug1560.scala +++ b/test/files/pos/bug1560.scala @@ -8,4 +8,4 @@ object Test extends Application { def c = b match { case Some(b) => b.t } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug1565.scala b/test/files/pos/bug1565.scala index 9a5bfd0882..df333151d5 100644 --- a/test/files/pos/bug1565.scala +++ b/test/files/pos/bug1565.scala @@ -15,4 +15,4 @@ object Bug1565 { val buf0 = e + 1 buf0 } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug160.scala b/test/files/pos/bug160.scala index f1c36ebeae..91ac2ba842 100644 --- a/test/files/pos/bug160.scala +++ b/test/files/pos/bug160.scala @@ -1,5 +1,3 @@ -// $Id$ - class Foo(s:String) { def this() = { this("DEFAULT") } } diff --git a/test/files/pos/bug1626.scala b/test/files/pos/bug1626.scala index 41072f2384..200be47430 100644 --- a/test/files/pos/bug1626.scala +++ b/test/files/pos/bug1626.scala @@ -1,4 +1,4 @@ object o { val n = <a xmlns=""/> n.namespace == null -}
\ No newline at end of file +} diff --git a/test/files/pos/bug175.scala b/test/files/pos/bug175.scala index 2ef26589c2..4c0eb28ba0 100644 --- a/test/files/pos/bug175.scala +++ b/test/files/pos/bug175.scala @@ -1,5 +1,3 @@ -// $Id$ - abstract class C { def this(x: Unit) = { this() } } diff --git a/test/files/pos/bug177.scala b/test/files/pos/bug177.scala index 9bd913f179..33b4de9264 100644 --- a/test/files/pos/bug177.scala +++ b/test/files/pos/bug177.scala @@ -1,5 +1,3 @@ -// $Id$ - class A { def foo = { object Y { diff --git a/test/files/pos/bug183.scala b/test/files/pos/bug183.scala index 4804eb3828..d7ed27f730 100644 --- a/test/files/pos/bug183.scala +++ b/test/files/pos/bug183.scala @@ -1,5 +1,3 @@ -// $Id$ - object Test { new Foo(0); class Foo(x: Int); diff --git a/test/files/pos/bug2168.scala b/test/files/pos/bug2168.scala index 42224236db..1cf73446a8 100644 --- a/test/files/pos/bug2168.scala +++ b/test/files/pos/bug2168.scala @@ -3,3 +3,4 @@ object Test extends Application { def foo2(x: AnyRef) = x match { case x: Function0[Any] => x() } } + diff --git a/test/files/pos/bug2187.scala b/test/files/pos/bug2187.scala index 087df13ec6..003b8c1436 100644 --- a/test/files/pos/bug2187.scala +++ b/test/files/pos/bug2187.scala @@ -4,4 +4,4 @@ object Test extends Application { case Seq(x) => x case Seq(x,y) => "" } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug252.scala b/test/files/pos/bug252.scala index 226b6787ad..b10811fb1f 100644 --- a/test/files/pos/bug252.scala +++ b/test/files/pos/bug252.scala @@ -14,4 +14,4 @@ abstract class Derived extends Base { def f(inputs: List[tType]): Unit = { for (t <- inputs; val m = t.module) { } } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug284.scala b/test/files/pos/bug284.scala index b5879fb3fe..19673b7e4c 100644 --- a/test/files/pos/bug284.scala +++ b/test/files/pos/bug284.scala @@ -2,4 +2,4 @@ trait B[T] { def f1(a: T): Unit { } def f2(a: T): Unit def f3(a: T) { } -}
\ No newline at end of file +} diff --git a/test/files/pos/bug289.scala b/test/files/pos/bug289.scala index 2fb91510d2..96c0244dfa 100644 --- a/test/files/pos/bug289.scala +++ b/test/files/pos/bug289.scala @@ -1,5 +1,3 @@ -// $Id$ - class A { object B; } diff --git a/test/files/pos/bug318.scala b/test/files/pos/bug318.scala index 1b9fa4a4b3..dbe0e0528c 100644 --- a/test/files/pos/bug318.scala +++ b/test/files/pos/bug318.scala @@ -1,5 +1,3 @@ -// $Id$ - object Test { def fun: Int = { object o { diff --git a/test/files/pos/bug359.scala b/test/files/pos/bug359.scala index 6ce4640998..11233c3ba4 100644 --- a/test/files/pos/bug359.scala +++ b/test/files/pos/bug359.scala @@ -1,5 +1,3 @@ -// $Id$ - object Bug359 { class C; def f1(xs: List[C]): C = { diff --git a/test/files/pos/bug360.scala b/test/files/pos/bug360.scala index 64a02519cc..f3716d4f97 100644 --- a/test/files/pos/bug360.scala +++ b/test/files/pos/bug360.scala @@ -1,5 +1,3 @@ -// $Id$ - abstract class Bug360A { self: Bug360C => def f: String = "hello"; } diff --git a/test/files/pos/bug361.scala b/test/files/pos/bug361.scala index f44fb32d47..1d19ecb523 100644 --- a/test/files/pos/bug361.scala +++ b/test/files/pos/bug361.scala @@ -1,5 +1,3 @@ -// $Id$ - class Bug361Global extends Bug361Trees abstract class Bug361Trees { self: Bug361Global => diff --git a/test/files/pos/bug372.scala b/test/files/pos/bug372.scala index 44c248bcd1..9ce5b9ab72 100644 --- a/test/files/pos/bug372.scala +++ b/test/files/pos/bug372.scala @@ -1,4 +1,2 @@ -// $Id$ - class Bug372Names; class Bug372Symbols { self: Bug372Symbols with Bug372Names => } diff --git a/test/files/pos/bug430-feb09.scala b/test/files/pos/bug430-feb09.scala index 2daf0b305a..1499f32b7a 100644 --- a/test/files/pos/bug430-feb09.scala +++ b/test/files/pos/bug430-feb09.scala @@ -31,4 +31,4 @@ package f.scala { // Doesn't compile: type <byname> is not a member of package h.scala package h.scala { case class H(s: String)(t: =>String) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug460.scala b/test/files/pos/bug460.scala index 7bf9374e91..3fc13e4dd0 100644 --- a/test/files/pos/bug460.scala +++ b/test/files/pos/bug460.scala @@ -6,4 +6,4 @@ object Bug460 { (testFun(_, _))(1, 2) // Ok (testFun _).apply(1, 2) (testFun _)(1, 2) // Error! (but no longer) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug715/runner_2.scala b/test/files/pos/bug715/runner_2.scala index 233b1bddb9..1e4f40d654 100644 --- a/test/files/pos/bug715/runner_2.scala +++ b/test/files/pos/bug715/runner_2.scala @@ -1,3 +1,3 @@ object Test extends Application { println(com.sap.dspace.model.othello.thePOJO2XMLRenderer) -}
\ No newline at end of file +} diff --git a/test/files/pos/bug756.scala b/test/files/pos/bug756.scala index 09735695f8..a3c790c654 100644 --- a/test/files/pos/bug756.scala +++ b/test/files/pos/bug756.scala @@ -3,4 +3,4 @@ object test { n <- Some(42) _ <- Some(24) } yield n -}
\ No newline at end of file +} diff --git a/test/files/pos/bug946.scala b/test/files/pos/bug946.scala index c4bd6e9ba4..c4bd6e9ba4 100755..100644 --- a/test/files/pos/bug946.scala +++ b/test/files/pos/bug946.scala diff --git a/test/files/pos/builders.scala b/test/files/pos/builders.scala index 0b620769c0..0b620769c0 100755..100644 --- a/test/files/pos/builders.scala +++ b/test/files/pos/builders.scala diff --git a/test/files/pos/cls.scala b/test/files/pos/cls.scala index 54104ae692..13661990ca 100644 --- a/test/files/pos/cls.scala +++ b/test/files/pos/cls.scala @@ -14,4 +14,4 @@ object test { val a1 = new A(1, "hello"); val b1 = new B(1, "hello"); } -}
\ No newline at end of file +} diff --git a/test/files/pos/clsrefine.scala b/test/files/pos/clsrefine.scala index d63923b5e6..0a016dec07 100644 --- a/test/files/pos/clsrefine.scala +++ b/test/files/pos/clsrefine.scala @@ -37,4 +37,4 @@ object test { val y2 = "hello"; } } -}
\ No newline at end of file +} diff --git a/test/files/pos/compile.scala b/test/files/pos/compile.scala index 3ed733fd40..bb2526e4bc 100644 --- a/test/files/pos/compile.scala +++ b/test/files/pos/compile.scala @@ -1,7 +1,6 @@ //############################################################################ // Compile Time Bugs & Test Cases //############################################################################ -// $Id$ import java.lang.System; // to avoid name clash with .NET's library diff --git a/test/files/pos/compile1.scala b/test/files/pos/compile1.scala index 3f06abbaa9..6886d39ca2 100644 --- a/test/files/pos/compile1.scala +++ b/test/files/pos/compile1.scala @@ -1,7 +1,6 @@ //############################################################################ // Compile Time Bugs & Test Cases //############################################################################ -// $Id$ import java.lang.System; // to avoid name clash with .NET's library diff --git a/test/files/pos/eta.scala b/test/files/pos/eta.scala index 590e7149f8..2dd2970ee7 100644 --- a/test/files/pos/eta.scala +++ b/test/files/pos/eta.scala @@ -1,5 +1,3 @@ -// $Id$ - object test { def sum(f: Int => Int)(x: Int, y: Int): Int = 0; diff --git a/test/files/pos/exbound.scala b/test/files/pos/exbound.scala index 243d5832ce..243d5832ce 100755..100644 --- a/test/files/pos/exbound.scala +++ b/test/files/pos/exbound.scala diff --git a/test/files/pos/ilya/J.java b/test/files/pos/ilya/J.java index c44169ca1b..b469623f32 100644 --- a/test/files/pos/ilya/J.java +++ b/test/files/pos/ilya/J.java @@ -11,4 +11,4 @@ class Bar<BooT extends Boo<FooT>, FooT extends Foo>{ public Bar(int i) { myInt = i; } -}
\ No newline at end of file +} diff --git a/test/files/pos/implicits.scala b/test/files/pos/implicits.scala index 88632850fa..88632850fa 100755..100644 --- a/test/files/pos/implicits.scala +++ b/test/files/pos/implicits.scala diff --git a/test/files/pos/imports.scala b/test/files/pos/imports.scala index 65ea090436..f6a55e5e07 100644 --- a/test/files/pos/imports.scala +++ b/test/files/pos/imports.scala @@ -13,4 +13,4 @@ object test { object test1 { import test._; foo -}
\ No newline at end of file +} diff --git a/test/files/pos/itay.scala b/test/files/pos/itay.scala index 9a97ded988..9a97ded988 100755..100644 --- a/test/files/pos/itay.scala +++ b/test/files/pos/itay.scala diff --git a/test/files/pos/lambdalift.scala b/test/files/pos/lambdalift.scala index ae5799a6f8..bc997d6f81 100644 --- a/test/files/pos/lambdalift.scala +++ b/test/files/pos/lambdalift.scala @@ -12,4 +12,4 @@ object test { } g() + new inner().g(); } -}
\ No newline at end of file +} diff --git a/test/files/pos/lambdalift1.scala b/test/files/pos/lambdalift1.scala index d9172f51eb..01b224c3bd 100644 --- a/test/files/pos/lambdalift1.scala +++ b/test/files/pos/lambdalift1.scala @@ -14,4 +14,4 @@ object test { } new A().g() } -}
\ No newline at end of file +} diff --git a/test/files/pos/listpattern.scala b/test/files/pos/listpattern.scala index 47145bf037..47145bf037 100755..100644 --- a/test/files/pos/listpattern.scala +++ b/test/files/pos/listpattern.scala diff --git a/test/files/pos/manifest1.scala b/test/files/pos/manifest1.scala index 4d3b3bfa48..4d3b3bfa48 100755..100644 --- a/test/files/pos/manifest1.scala +++ b/test/files/pos/manifest1.scala diff --git a/test/files/pos/michel3.scala b/test/files/pos/michel3.scala index 0e85295bfb..348a66a10d 100644 --- a/test/files/pos/michel3.scala +++ b/test/files/pos/michel3.scala @@ -1,3 +1,3 @@ abstract class A() { val v : Int -}
\ No newline at end of file +} diff --git a/test/files/pos/null.scala b/test/files/pos/null.scala index 59f88ee0e0..1c68e29f01 100644 --- a/test/files/pos/null.scala +++ b/test/files/pos/null.scala @@ -1,3 +1,3 @@ object M { val x: Boolean = null == null; -}
\ No newline at end of file +} diff --git a/test/files/pos/nullary.scala b/test/files/pos/nullary.scala index 22318d5143..614fcdf480 100644 --- a/test/files/pos/nullary.scala +++ b/test/files/pos/nullary.scala @@ -17,4 +17,4 @@ class Concrete extends NullaryTest[Int, List] { object test { (new Concrete).nullary2 (new Concrete).nullary3 -}
\ No newline at end of file +} diff --git a/test/files/pos/nullary_poly.scala b/test/files/pos/nullary_poly.scala index 9e3f239b36..d2e1e127a1 100644 --- a/test/files/pos/nullary_poly.scala +++ b/test/files/pos/nullary_poly.scala @@ -7,4 +7,4 @@ class A { // user-defined: def polyNullary[T]: List[T] = Nil -}
\ No newline at end of file +} diff --git a/test/files/pos/patterns2.scala b/test/files/pos/patterns2.scala index 93dcedbcf8..821fc43c6b 100644 --- a/test/files/pos/patterns2.scala +++ b/test/files/pos/patterns2.scala @@ -13,4 +13,4 @@ object test { case Some(b) => 4; case None => 5; } -}
\ No newline at end of file +} diff --git a/test/files/pos/philippe1.scala b/test/files/pos/philippe1.scala index 3cace0e116..4b4b22ea79 100644 --- a/test/files/pos/philippe1.scala +++ b/test/files/pos/philippe1.scala @@ -5,4 +5,4 @@ object test { val res: Array[String] = id(args); () } -}
\ No newline at end of file +} diff --git a/test/files/pos/philippe2.scala b/test/files/pos/philippe2.scala index 2ab3a382ef..55a283dddd 100644 --- a/test/files/pos/philippe2.scala +++ b/test/files/pos/philippe2.scala @@ -1,5 +1,3 @@ -// $Id$ - import scala._; class m1() { def n() = 0; diff --git a/test/files/pos/scoping3.scala b/test/files/pos/scoping3.scala index 761d5c311e..f6d531dbb2 100644 --- a/test/files/pos/scoping3.scala +++ b/test/files/pos/scoping3.scala @@ -1,5 +1,3 @@ -// $Id$ - object CI { trait TreeDisplay { type TreeNode <: ITreeNode diff --git a/test/files/pos/signatures/Test.java b/test/files/pos/signatures/Test.java index 8ecac29910..a50ccb9d01 100644 --- a/test/files/pos/signatures/Test.java +++ b/test/files/pos/signatures/Test.java @@ -8,4 +8,4 @@ import test.Outer; */ class Test { Outer o = new Outer(); -}
\ No newline at end of file +} diff --git a/test/files/pos/spec-Function1.scala b/test/files/pos/spec-Function1.scala index b749be0ba7..2baa22f269 100644 --- a/test/files/pos/spec-Function1.scala +++ b/test/files/pos/spec-Function1.scala @@ -7,8 +7,6 @@ ** |/ ** \* */ -// $Id: Function1.scala 17163 2009-02-20 08:05:31Z dragos $ - // generated by genprod on Wed Apr 23 10:06:16 CEST 2008 (with fancy comment) (with extra methods) package scala diff --git a/test/files/pos/spec-List.scala b/test/files/pos/spec-List.scala index 97b1ca1b8d..7dce0305a9 100644 --- a/test/files/pos/spec-List.scala +++ b/test/files/pos/spec-List.scala @@ -6,8 +6,6 @@ ** |/ ** \* */ -// $Id: List.scala 16287 2008-10-18 13:41:36Z nielsen $ - package scala.collection.immutable diff --git a/test/files/pos/spec-arrays.scala b/test/files/pos/spec-arrays.scala index c1f253a39d..c1f253a39d 100755..100644 --- a/test/files/pos/spec-arrays.scala +++ b/test/files/pos/spec-arrays.scala diff --git a/test/files/pos/t0165.scala b/test/files/pos/t0165.scala index 76aef85240..76aef85240 100755..100644 --- a/test/files/pos/t0165.scala +++ b/test/files/pos/t0165.scala diff --git a/test/files/pos/t0227.scala b/test/files/pos/t0227.scala index a52a9798fc..a52a9798fc 100755..100644 --- a/test/files/pos/t0227.scala +++ b/test/files/pos/t0227.scala diff --git a/test/files/pos/t0586.scala b/test/files/pos/t0586.scala index 86115a77af..540e225a14 100644 --- a/test/files/pos/t0586.scala +++ b/test/files/pos/t0586.scala @@ -6,4 +6,4 @@ object RClose { } finally { s.close() } -}
\ No newline at end of file +} diff --git a/test/files/pos/t0591.scala b/test/files/pos/t0591.scala index de02d6b579..15f2dba08e 100644 --- a/test/files/pos/t0591.scala +++ b/test/files/pos/t0591.scala @@ -4,4 +4,4 @@ object Test { implicit val hello = "Hello" implicitly[String] implicitly[Option[String]] -}
\ No newline at end of file +} diff --git a/test/files/pos/t0851.scala.disabled b/test/files/pos/t0851.scala.disabled index fc7109dcd4..fc7109dcd4 100755..100644 --- a/test/files/pos/t0851.scala.disabled +++ b/test/files/pos/t0851.scala.disabled diff --git a/test/files/pos/t0872.scala.disabled b/test/files/pos/t0872.scala.disabled index 6dc02497ab..6dc02497ab 100755..100644 --- a/test/files/pos/t0872.scala.disabled +++ b/test/files/pos/t0872.scala.disabled diff --git a/test/files/pos/t0971.java b/test/files/pos/t0971.java index d852ef698d..160dc2c5af 100755..100644 --- a/test/files/pos/t0971.java +++ b/test/files/pos/t0971.java @@ -1,4 +1,4 @@ class A { int y = 1, z; static Object x = new java.util.HashMap<Object , Object > () ; -}
\ No newline at end of file +} diff --git a/test/files/pos/t1001.scala b/test/files/pos/t1001.scala index 88321e6e8e..88321e6e8e 100755..100644 --- a/test/files/pos/t1001.scala +++ b/test/files/pos/t1001.scala diff --git a/test/files/pos/t1059.scala b/test/files/pos/t1059.scala index 659bf375ca..659bf375ca 100755..100644 --- a/test/files/pos/t1059.scala +++ b/test/files/pos/t1059.scala diff --git a/test/files/pos/t1107/O.scala b/test/files/pos/t1107/O.scala index ffc2f767a8..0198867704 100644 --- a/test/files/pos/t1107/O.scala +++ b/test/files/pos/t1107/O.scala @@ -10,4 +10,4 @@ object O c.bob.toString + c.bob2.toString } -}
\ No newline at end of file +} diff --git a/test/files/pos/t1107/T.scala b/test/files/pos/t1107/T.scala index 583ee11c0a..0dff0b94fd 100644 --- a/test/files/pos/t1107/T.scala +++ b/test/files/pos/t1107/T.scala @@ -4,4 +4,4 @@ trait C { private object P extends Sub def bob() = P.getClass def bob2() = O.d(P) -}
\ No newline at end of file +} diff --git a/test/files/pos/t1131.scala b/test/files/pos/t1131.scala index 5ef980348d..5ef980348d 100755..100644 --- a/test/files/pos/t1131.scala +++ b/test/files/pos/t1131.scala diff --git a/test/files/pos/t1186/t1186.java b/test/files/pos/t1186/t1186.java index c1bfcecab8..5f2607623f 100644 --- a/test/files/pos/t1186/t1186.java +++ b/test/files/pos/t1186/t1186.java @@ -5,4 +5,4 @@ class Test { void foo() { Map<String, String> map = null; } -}
\ No newline at end of file +} diff --git a/test/files/pos/t1231/J.java b/test/files/pos/t1231/J.java index 1dfc9490eb..6b24205e5e 100644 --- a/test/files/pos/t1231/J.java +++ b/test/files/pos/t1231/J.java @@ -1 +1 @@ -enum J { j1 }
\ No newline at end of file +enum J { j1 } diff --git a/test/files/pos/t1232/J.java b/test/files/pos/t1232/J.java index af3aad928d..2d9e3bbd58 100755..100644 --- a/test/files/pos/t1232/J.java +++ b/test/files/pos/t1232/J.java @@ -1,2 +1,2 @@ package j; -public class J { public enum E { e1 } }
\ No newline at end of file +public class J { public enum E { e1 } } diff --git a/test/files/pos/t1232/J2.java b/test/files/pos/t1232/J2.java index dc117d360f..29237780ac 100755..100644 --- a/test/files/pos/t1232/J2.java +++ b/test/files/pos/t1232/J2.java @@ -1,2 +1,2 @@ import s.S; -class J2 { }
\ No newline at end of file +class J2 { } diff --git a/test/files/pos/t1232/S.scala b/test/files/pos/t1232/S.scala index 1b6bca7327..1b6bca7327 100755..100644 --- a/test/files/pos/t1232/S.scala +++ b/test/files/pos/t1232/S.scala diff --git a/test/files/pos/t1560.scala b/test/files/pos/t1560.scala index 49cdaaed6a..49cdaaed6a 100755..100644 --- a/test/files/pos/t1560.scala +++ b/test/files/pos/t1560.scala diff --git a/test/files/pos/t1614/bar.scala b/test/files/pos/t1614/bar.scala index be994c3af3..be994c3af3 100755..100644 --- a/test/files/pos/t1614/bar.scala +++ b/test/files/pos/t1614/bar.scala diff --git a/test/files/pos/t1614/foo.scala b/test/files/pos/t1614/foo.scala index e6cc41bafd..e6cc41bafd 100755..100644 --- a/test/files/pos/t1614/foo.scala +++ b/test/files/pos/t1614/foo.scala diff --git a/test/files/pos/t1745/S.scala b/test/files/pos/t1745/S.scala index 70210ba502..84c4371338 100644 --- a/test/files/pos/t1745/S.scala +++ b/test/files/pos/t1745/S.scala @@ -4,4 +4,4 @@ class S3 { } object S3 { def foo() = "abc" def bar[T](x: T): T = x -}
\ No newline at end of file +} diff --git a/test/files/pos/t1751/SuiteClasses.java b/test/files/pos/t1751/SuiteClasses.java index 9f09021c5a..a415e4f572 100644 --- a/test/files/pos/t1751/SuiteClasses.java +++ b/test/files/pos/t1751/SuiteClasses.java @@ -1,3 +1,3 @@ public @interface SuiteClasses { public Class<?>[] value(); -}
\ No newline at end of file +} diff --git a/test/files/pos/t1782/Ann.java b/test/files/pos/t1782/Ann.java index cd3b2b33ca..0dcfbd2ed7 100644 --- a/test/files/pos/t1782/Ann.java +++ b/test/files/pos/t1782/Ann.java @@ -1,3 +1,3 @@ public @interface Ann { public Days value(); -}
\ No newline at end of file +} diff --git a/test/files/pos/t1782/Days.java b/test/files/pos/t1782/Days.java index b0d1ac4902..203a87b1c2 100644 --- a/test/files/pos/t1782/Days.java +++ b/test/files/pos/t1782/Days.java @@ -1,3 +1,3 @@ public enum Days { Friday, Sunday -}
\ No newline at end of file +} diff --git a/test/files/pos/t1840/J.java b/test/files/pos/t1840/J.java index 3914721431..fd98b6c4a5 100644 --- a/test/files/pos/t1840/J.java +++ b/test/files/pos/t1840/J.java @@ -1,4 +1,4 @@ package p; class J { J() {} -}
\ No newline at end of file +} diff --git a/test/files/pos/t1840/S.scala b/test/files/pos/t1840/S.scala index 00ab0ff3b1..ff513d2c15 100644 --- a/test/files/pos/t1840/S.scala +++ b/test/files/pos/t1840/S.scala @@ -1,2 +1,2 @@ package p -class S { new J }
\ No newline at end of file +class S { new J } diff --git a/test/files/pos/t1937/NumberGenerator.java b/test/files/pos/t1937/NumberGenerator.java index 2f85e87bcc..59d6047337 100644 --- a/test/files/pos/t1937/NumberGenerator.java +++ b/test/files/pos/t1937/NumberGenerator.java @@ -1 +1,7 @@ -package br.com.caelum.caelumweb2.money;
public class NumberGenerator {
public String generate() {
return null;
}
}
\ No newline at end of file +package br.com.caelum.caelumweb2.money; + +public class NumberGenerator { + public String generate() { + return null; + } +} diff --git a/test/files/pos/t2377/Q.java b/test/files/pos/t2377/Q.java index ef5b0574a6..e3d11c70e9 100644 --- a/test/files/pos/t2377/Q.java +++ b/test/files/pos/t2377/Q.java @@ -9,4 +9,4 @@ public final class Q { public static final class Builder { } public Builder toBuilder() { return newBuilder(); } } -}
\ No newline at end of file +} diff --git a/test/files/pos/t2377/a.scala b/test/files/pos/t2377/a.scala index 5ec58987ff..bda59ce0db 100644 --- a/test/files/pos/t2377/a.scala +++ b/test/files/pos/t2377/a.scala @@ -5,4 +5,4 @@ class Bop(var workUnit: WorkUnit) { val builder = workUnit.toBuilder () } -}
\ No newline at end of file +} diff --git a/test/files/pos/t294/Ann2.java b/test/files/pos/t294/Ann2.java index 958cf1ab76..025b79e794 100644 --- a/test/files/pos/t294/Ann2.java +++ b/test/files/pos/t294/Ann2.java @@ -1,3 +1,3 @@ public @interface Ann2 { public int value(); -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_boundedmonad.scala b/test/files/pos/tcpoly_boundedmonad.scala index ea19ae4c39..ef02507b66 100644 --- a/test/files/pos/tcpoly_boundedmonad.scala +++ b/test/files/pos/tcpoly_boundedmonad.scala @@ -16,4 +16,4 @@ class Set[T <: Ordered[T]] extends Monad[T, Set, Ordered] { (f: T => Result[S]): Result[S] = error("TODO") def filter(p: T => Boolean): Set[T] = error("TODO") -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_bounds1.scala b/test/files/pos/tcpoly_bounds1.scala index d74d3c975b..5874cc664d 100644 --- a/test/files/pos/tcpoly_bounds1.scala +++ b/test/files/pos/tcpoly_bounds1.scala @@ -11,4 +11,4 @@ trait ListMonad[a] extends Monad[List, Any, a] trait MyOrdered[a] trait MySet[x <: MyOrdered[x]] -trait SetMonad[a <: MyOrdered[a]] extends Monad[MySet, MyOrdered, a]
\ No newline at end of file +trait SetMonad[a <: MyOrdered[a]] extends Monad[MySet, MyOrdered, a] diff --git a/test/files/pos/tcpoly_checkkinds_mix.scala b/test/files/pos/tcpoly_checkkinds_mix.scala index 27bf11a2ef..3734405f8b 100644 --- a/test/files/pos/tcpoly_checkkinds_mix.scala +++ b/test/files/pos/tcpoly_checkkinds_mix.scala @@ -7,4 +7,4 @@ trait Iterable[A <: Bound[A], Bound[_]] { trait OrderedSet[T <: Ordered[T]] extends Iterable[T, Ordered] { type MyType[x <: Ordered[x]] = OrderedSet[x] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_gm.scala b/test/files/pos/tcpoly_gm.scala index 89b66cfba6..95361e0dac 100644 --- a/test/files/pos/tcpoly_gm.scala +++ b/test/files/pos/tcpoly_gm.scala @@ -12,3 +12,4 @@ object foo { r.app(y) } } + diff --git a/test/files/pos/tcpoly_late_method_params.scala b/test/files/pos/tcpoly_late_method_params.scala index 2af0664618..e2f0bcffb3 100644 --- a/test/files/pos/tcpoly_late_method_params.scala +++ b/test/files/pos/tcpoly_late_method_params.scala @@ -2,4 +2,4 @@ trait Foo { def flatMap[RT <: RBound[RT], RBound[_], Result[x <: RBound[x]]]: Result[RT] // bounds for RT& = >: scala.this.Nothing <: RBound&[RT&] // bounds for x = >: scala.this.Nothing <: RBound&[x] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_method.scala b/test/files/pos/tcpoly_method.scala index 34dde904c3..294b53b915 100644 --- a/test/files/pos/tcpoly_method.scala +++ b/test/files/pos/tcpoly_method.scala @@ -3,4 +3,4 @@ trait Iterable[m[+x], +t] { def foo[a[x]] = "a" val x = foo[List] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_overloaded.scala b/test/files/pos/tcpoly_overloaded.scala index 47cb68a8bb..f67e4a9fef 100644 --- a/test/files/pos/tcpoly_overloaded.scala +++ b/test/files/pos/tcpoly_overloaded.scala @@ -22,4 +22,4 @@ trait Test { (f: T => List[S], foo: Int): List[S] = error("foo") } val l: MList[String] = moo.flatMap[String, List, Any, MList]((x: Int) => new MList("String")) -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_param_scoping.scala b/test/files/pos/tcpoly_param_scoping.scala index 1019fdfaf2..f8a03f664f 100644 --- a/test/files/pos/tcpoly_param_scoping.scala +++ b/test/files/pos/tcpoly_param_scoping.scala @@ -5,4 +5,4 @@ trait FOO3[m[A <: B], B] class Test { def foo[a[x]] = "a" } -//trait Idiom[idi[x]] { def foo: idi[Int]}
\ No newline at end of file +//trait Idiom[idi[x]] { def foo: idi[Int]} diff --git a/test/files/pos/tcpoly_return_overriding.scala b/test/files/pos/tcpoly_return_overriding.scala index cc7dd55cec..57ec8da76c 100644 --- a/test/files/pos/tcpoly_return_overriding.scala +++ b/test/files/pos/tcpoly_return_overriding.scala @@ -10,4 +10,4 @@ trait Rep[t] { // + that substitution (of types&symbols) preserves isHigherKinded when replacing a higher-kinded type with another one object foo extends Rep[Unit] { def rep[g[x]](implicit gen: Generic[g]): g[Unit]= gen.unit -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_subst.scala b/test/files/pos/tcpoly_subst.scala index af474585e9..f8ddb9a715 100644 --- a/test/files/pos/tcpoly_subst.scala +++ b/test/files/pos/tcpoly_subst.scala @@ -1,4 +1,4 @@ object test { def make[m[x], b]: m[b] = error("foo") val lst: List[Int] = make[List, Int] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_typeapp.scala b/test/files/pos/tcpoly_typeapp.scala index 7fb4dca72e..4cb1da4f74 100644 --- a/test/files/pos/tcpoly_typeapp.scala +++ b/test/files/pos/tcpoly_typeapp.scala @@ -1,4 +1,4 @@ abstract class x { type t[m[x] <: Bound[x], Bound[x]] val x: t[scala.collection.mutable.MutableList, Iterable] -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_typesub.scala b/test/files/pos/tcpoly_typesub.scala index bb29d88bd9..a56d0a2547 100644 --- a/test/files/pos/tcpoly_typesub.scala +++ b/test/files/pos/tcpoly_typesub.scala @@ -11,4 +11,4 @@ trait TypeSub { type c[+y] = y with t castSub[c](lt) } -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_variance.scala b/test/files/pos/tcpoly_variance.scala index 9e034ef97e..b641716d50 100644 --- a/test/files/pos/tcpoly_variance.scala +++ b/test/files/pos/tcpoly_variance.scala @@ -4,4 +4,4 @@ class A[m[+x]] { class B[m[+x]] extends A[m] { override def str: m[String] = error("foo") -}
\ No newline at end of file +} diff --git a/test/files/pos/tcpoly_wildcards.scala b/test/files/pos/tcpoly_wildcards.scala index eed0e6f685..d3bb86b591 100644 --- a/test/files/pos/tcpoly_wildcards.scala +++ b/test/files/pos/tcpoly_wildcards.scala @@ -1,3 +1,3 @@ trait test[b[_,_]] { def moo[a[_, _]] = error("a") -}
\ No newline at end of file +} diff --git a/test/files/pos/test2.scala b/test/files/pos/test2.scala index fe36d07f1b..0dcc16ffab 100644 --- a/test/files/pos/test2.scala +++ b/test/files/pos/test2.scala @@ -2,4 +2,4 @@ import scala._; object test2 { def f(x: Int): Int = 'a'; def g(x: Int) = f(f(x)); -}
\ No newline at end of file +} diff --git a/test/files/pos/test5refine.scala b/test/files/pos/test5refine.scala index 95670faa05..5459b3b975 100644 --- a/test/files/pos/test5refine.scala +++ b/test/files/pos/test5refine.scala @@ -72,4 +72,4 @@ object test { j.chk_ix(j.val_jx); j.chk_ix(val_njx); } -}
\ No newline at end of file +} diff --git a/test/files/pos/thistypes.scala b/test/files/pos/thistypes.scala index 4a68ba3e65..7319cc1ecb 100644 --- a/test/files/pos/thistypes.scala +++ b/test/files/pos/thistypes.scala @@ -5,4 +5,4 @@ trait B { trait C extends B { def foo: C.this.I; -}
\ No newline at end of file +} diff --git a/test/files/pos/ticket0137.scala b/test/files/pos/ticket0137.scala index 4ee92ae8a7..94ef8e49fc 100644 --- a/test/files/pos/ticket0137.scala +++ b/test/files/pos/ticket0137.scala @@ -5,4 +5,4 @@ trait AbsM { } type AM[_] // to trigger the bug, this must be an abstract type member that comes after the reference to it -}
\ No newline at end of file +} diff --git a/test/files/pos/ticket2197.scala b/test/files/pos/ticket2197.scala index 1679d7d51a..3c9a04f8bd 100644 --- a/test/files/pos/ticket2197.scala +++ b/test/files/pos/ticket2197.scala @@ -4,4 +4,4 @@ trait PartialType[T[_, _], A] { sealed trait State[S, +A] trait Pure[P[_]] -trait StatePure[X] extends Pure[PartialType[State, X]#Apply]
\ No newline at end of file +trait StatePure[X] extends Pure[PartialType[State, X]#Apply] diff --git a/test/files/pos/ticket2201.scala b/test/files/pos/ticket2201.scala index 275867b88e..21af170cf1 100644 --- a/test/files/pos/ticket2201.scala +++ b/test/files/pos/ticket2201.scala @@ -5,4 +5,4 @@ object Call { def call(implicit view : Test => Int) = view(null) call call -}
\ No newline at end of file +} diff --git a/test/files/pos/tryexpr.scala b/test/files/pos/tryexpr.scala index c16428e7a5..c6c2febf7a 100644 --- a/test/files/pos/tryexpr.scala +++ b/test/files/pos/tryexpr.scala @@ -7,4 +7,4 @@ object o { try try try 10 catch { case e => 20 } finally 30 finally 40 try try try 10 catch { case e => 20 } finally 30 finally 40 finally 50 try try try 10 finally 50 -}
\ No newline at end of file +} diff --git a/test/files/pos/typealias_dubious.scala b/test/files/pos/typealias_dubious.scala index 98df5c1290..de6bb67fe3 100644 --- a/test/files/pos/typealias_dubious.scala +++ b/test/files/pos/typealias_dubious.scala @@ -12,4 +12,4 @@ abstract class Actor { def dubiousSend(msg: MailBox#Message) = unstable.send(msg) // in.Message becomes unstable.Message, but that's ok since Message is a concrete type member -}
\ No newline at end of file +} diff --git a/test/files/res/bug597.check b/test/files/res/bug597.check index ed46e87f5d..6cf64f734b 100644 --- a/test/files/res/bug597.check +++ b/test/files/res/bug597.check @@ -1,4 +1,4 @@ nsc> nsc> -nsc>
\ No newline at end of file +nsc> diff --git a/test/files/res/bug687.check b/test/files/res/bug687.check index 91dd89de06..ee9520d1ea 100644 --- a/test/files/res/bug687.check +++ b/test/files/res/bug687.check @@ -8,4 +8,4 @@ have same type after erasure: (o: java.lang.Object)Boolean ^ nsc> -nsc>
\ No newline at end of file +nsc> diff --git a/test/files/res/bug687/QueryB.scala b/test/files/res/bug687/QueryB.scala index ce93005bb3..3e1e0b7a34 100644 --- a/test/files/res/bug687/QueryB.scala +++ b/test/files/res/bug687/QueryB.scala @@ -1,4 +1,4 @@ package bug687; trait Query { override def equals(o : Object) = false; -}
\ No newline at end of file +} diff --git a/test/files/res/bug722.check b/test/files/res/bug722.check index ed46e87f5d..6cf64f734b 100644 --- a/test/files/res/bug722.check +++ b/test/files/res/bug722.check @@ -1,4 +1,4 @@ nsc> nsc> -nsc>
\ No newline at end of file +nsc> diff --git a/test/files/res/bug722/IfElse.scala b/test/files/res/bug722/IfElse.scala index a10607a38d..1515ecf422 100644 --- a/test/files/res/bug722/IfElse.scala +++ b/test/files/res/bug722/IfElse.scala @@ -1,4 +1,4 @@ package bug722; trait IfEse extends ScanBased { object condition extends WhitespaceLink; -}
\ No newline at end of file +} diff --git a/test/files/res/bug735.check b/test/files/res/bug735.check index ed46e87f5d..6cf64f734b 100644 --- a/test/files/res/bug735.check +++ b/test/files/res/bug735.check @@ -1,4 +1,4 @@ nsc> nsc> -nsc>
\ No newline at end of file +nsc> diff --git a/test/files/res/bug735/ScalaTyper.scala b/test/files/res/bug735/ScalaTyper.scala index 29c4bb37cb..75e7a1855a 100644 --- a/test/files/res/bug735/ScalaTyper.scala +++ b/test/files/res/bug735/ScalaTyper.scala @@ -2,4 +2,4 @@ package bug735; trait ScalaTyper extends ScalaExpressions { val values = new ValueFactory {} -}
\ No newline at end of file +} diff --git a/test/files/res/bug743.check b/test/files/res/bug743.check index ed46e87f5d..6cf64f734b 100644 --- a/test/files/res/bug743.check +++ b/test/files/res/bug743.check @@ -1,4 +1,4 @@ nsc> nsc> -nsc>
\ No newline at end of file +nsc> diff --git a/test/files/res/bug785.check b/test/files/res/bug785.check index ed46e87f5d..6cf64f734b 100644 --- a/test/files/res/bug785.check +++ b/test/files/res/bug785.check @@ -1,4 +1,4 @@ nsc> nsc> -nsc>
\ No newline at end of file +nsc> diff --git a/test/files/res/bug831.check b/test/files/res/bug831.check index ed46e87f5d..6cf64f734b 100644 --- a/test/files/res/bug831.check +++ b/test/files/res/bug831.check @@ -1,4 +1,4 @@ nsc> nsc> -nsc>
\ No newline at end of file +nsc> diff --git a/test/files/res/bug831/NewScalaTestXXX.scala b/test/files/res/bug831/NewScalaTestXXX.scala index e5cc79970f..a1dafa8eac 100644 --- a/test/files/res/bug831/NewScalaTestXXX.scala +++ b/test/files/res/bug831/NewScalaTestXXX.scala @@ -1,2 +1,2 @@ package bug831; -abstract class NewScalaTestXXX extends NewScalaParserXXX;
\ No newline at end of file +abstract class NewScalaTestXXX extends NewScalaParserXXX; diff --git a/test/files/run/Course-2002-01.scala b/test/files/run/Course-2002-01.scala index b31d1016fd..3426f26eed 100644 --- a/test/files/run/Course-2002-01.scala +++ b/test/files/run/Course-2002-01.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 01 //############################################################################ -// $Id$ object M0 { diff --git a/test/files/run/Course-2002-02.scala b/test/files/run/Course-2002-02.scala index e688850f9a..b8650108ed 100644 --- a/test/files/run/Course-2002-02.scala +++ b/test/files/run/Course-2002-02.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 02 //############################################################################ -// $Id$ object M0 { def gcd(a: Int, b: Int): Int = if (b == 0) a else gcd(b, a % b) diff --git a/test/files/run/Course-2002-03.scala b/test/files/run/Course-2002-03.scala index 7fb0d2636c..c3b357e610 100644 --- a/test/files/run/Course-2002-03.scala +++ b/test/files/run/Course-2002-03.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 03 //############################################################################ -// $Id$ object M0 { diff --git a/test/files/run/Course-2002-04.scala b/test/files/run/Course-2002-04.scala index 48d14d9125..368e29db45 100644 --- a/test/files/run/Course-2002-04.scala +++ b/test/files/run/Course-2002-04.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 04 //############################################################################ -// $Id$ object M0 { diff --git a/test/files/run/Course-2002-05.scala b/test/files/run/Course-2002-05.scala index 917084fc97..a1d71e2818 100644 --- a/test/files/run/Course-2002-05.scala +++ b/test/files/run/Course-2002-05.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 05 //############################################################################ -// $Id$ object M0 { def partition[a](xs: List[a], pred: a => Boolean): Pair[List[a], List[a]] = { diff --git a/test/files/run/Course-2002-06.scala b/test/files/run/Course-2002-06.scala index e2cfb6daf4..e4fb86a966 100644 --- a/test/files/run/Course-2002-06.scala +++ b/test/files/run/Course-2002-06.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 06 //############################################################################ -// $Id$ /** Two-dimensional vector. */ class Vector (_x: Double, _y: Double) { diff --git a/test/files/run/Course-2002-07.scala b/test/files/run/Course-2002-07.scala index d33e269805..7848ae3e8e 100644 --- a/test/files/run/Course-2002-07.scala +++ b/test/files/run/Course-2002-07.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 07 //############################################################################ -// $Id$ object M0 { diff --git a/test/files/run/Course-2002-08.scala b/test/files/run/Course-2002-08.scala index a0d679d3d1..2e4b5111a9 100644 --- a/test/files/run/Course-2002-08.scala +++ b/test/files/run/Course-2002-08.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 08 //############################################################################ -// $Id$ import List._; diff --git a/test/files/run/Course-2002-09.scala b/test/files/run/Course-2002-09.scala index 5b2adbc581..fac39e0841 100644 --- a/test/files/run/Course-2002-09.scala +++ b/test/files/run/Course-2002-09.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 09 //############################################################################ -// $Id$ trait Constraint { def newValue: Unit; diff --git a/test/files/run/Course-2002-10.scala b/test/files/run/Course-2002-10.scala index 96df090c05..e978bc8258 100644 --- a/test/files/run/Course-2002-10.scala +++ b/test/files/run/Course-2002-10.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 10 //############################################################################ -// $Id$ import Math.{Pi, log} diff --git a/test/files/run/Course-2002-13.scala b/test/files/run/Course-2002-13.scala index 5b426be984..27551b735b 100644 --- a/test/files/run/Course-2002-13.scala +++ b/test/files/run/Course-2002-13.scala @@ -1,7 +1,6 @@ //############################################################################ // Programmation IV - 2002 - Week 13 //############################################################################ -// $Id$ class Tokenizer(s: String, delimiters: String) extends Iterator[String] { diff --git a/test/files/run/NestedClasses.scala b/test/files/run/NestedClasses.scala index 5a427144fc..6db713e083 100644 --- a/test/files/run/NestedClasses.scala +++ b/test/files/run/NestedClasses.scala @@ -1,7 +1,6 @@ //############################################################################ // Test nested classes //############################################################################ -// $Id$ // The following set of classes tests nasty references to "outer" // values. diff --git a/test/files/run/arrays.scala b/test/files/run/arrays.scala index 9b2491e383..8a2d96a2a7 100644 --- a/test/files/run/arrays.scala +++ b/test/files/run/arrays.scala @@ -1,7 +1,6 @@ //############################################################################ // Arrays //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/bitsets.scala b/test/files/run/bitsets.scala index e536e48427..ac2b8eb5b9 100644 --- a/test/files/run/bitsets.scala +++ b/test/files/run/bitsets.scala @@ -1,7 +1,6 @@ //############################################################################ // Bitsets //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/boolexprs.scala b/test/files/run/boolexprs.scala index f92a358e26..b9b4faea9c 100644 --- a/test/files/run/boolexprs.scala +++ b/test/files/run/boolexprs.scala @@ -1,7 +1,6 @@ //############################################################################ // Boolean Expressions //############################################################################ -// $Id$ class Counter { private var n: Int = 0; diff --git a/test/files/run/bridges.scala b/test/files/run/bridges.scala index 9fd2c8e274..fda86eabc6 100644 --- a/test/files/run/bridges.scala +++ b/test/files/run/bridges.scala @@ -1,7 +1,6 @@ //############################################################################ // Test bridge methods //############################################################################ -// $Id$ class A; class B; diff --git a/test/files/run/bug1079.scala b/test/files/run/bug1079.scala index 5e7f2fc42b..ae8234bfe6 100644 --- a/test/files/run/bug1079.scala +++ b/test/files/run/bug1079.scala @@ -1,3 +1,3 @@ object Test extends Application { println(<t user:tag=""/> == <t user:tag="X"/>) -}
\ No newline at end of file +} diff --git a/test/files/run/bug1110.scala b/test/files/run/bug1110.scala index b0969f6aad..092bc85369 100644 --- a/test/files/run/bug1110.scala +++ b/test/files/run/bug1110.scala @@ -8,4 +8,4 @@ class Stuff { object Test extends Application { new Stuff -}
\ No newline at end of file +} diff --git a/test/files/run/bug1141.scala b/test/files/run/bug1141.scala index 6c8e1c7399..a98e3cf204 100644 --- a/test/files/run/bug1141.scala +++ b/test/files/run/bug1141.scala @@ -4,4 +4,4 @@ object Test extends Application { } foo("var", "args") -}
\ No newline at end of file +} diff --git a/test/files/run/bug1192.scala b/test/files/run/bug1192.scala index c199198932..c199198932 100755..100644 --- a/test/files/run/bug1192.scala +++ b/test/files/run/bug1192.scala diff --git a/test/files/run/bug1220.scala b/test/files/run/bug1220.scala index 88baa980f5..88baa980f5 100755..100644 --- a/test/files/run/bug1220.scala +++ b/test/files/run/bug1220.scala diff --git a/test/files/run/bug1434.scala b/test/files/run/bug1434.scala index df869c7bcd..63bd88ec90 100644 --- a/test/files/run/bug1434.scala +++ b/test/files/run/bug1434.scala @@ -12,4 +12,4 @@ object Test { def main(args: Array[String]) = { assert("C" == f(new C)) } -}
\ No newline at end of file +} diff --git a/test/files/run/bug1466.scala b/test/files/run/bug1466.scala index 0ad8c93aad..fdbb5cb91d 100644 --- a/test/files/run/bug1466.scala +++ b/test/files/run/bug1466.scala @@ -8,4 +8,4 @@ object IOvervalueMyPrivacy { object Test extends Application { assert(IOvervalueMyPrivacy.go == 6) -}
\ No newline at end of file +} diff --git a/test/files/run/bug1697.scala b/test/files/run/bug1697.scala index 3f7cb467cd..01590dd405 100644 --- a/test/files/run/bug1697.scala +++ b/test/files/run/bug1697.scala @@ -16,4 +16,4 @@ object Test { } assert(res == "Add(Value, ?)") } -}
\ No newline at end of file +} diff --git a/test/files/run/bug2124.scala b/test/files/run/bug2124.scala index ae16e66706..e72deb09bc 100644 --- a/test/files/run/bug2124.scala +++ b/test/files/run/bug2124.scala @@ -22,4 +22,4 @@ object Test { } }).transform(sampleXml)) } -}
\ No newline at end of file +} diff --git a/test/files/run/bug2125.scala b/test/files/run/bug2125.scala index 053798e3db..8314e4f019 100644 --- a/test/files/run/bug2125.scala +++ b/test/files/run/bug2125.scala @@ -22,4 +22,4 @@ object Test { } }).transform(sampleXml)) } -}
\ No newline at end of file +} diff --git a/test/files/run/bug2241.scala b/test/files/run/bug2241.scala index 58cc46fe69..53a0d708e8 100644 --- a/test/files/run/bug2241.scala +++ b/test/files/run/bug2241.scala @@ -4,4 +4,4 @@ object Test extends Application { case _ => "no" } assert(f(null) == "no") -}
\ No newline at end of file +} diff --git a/test/files/run/bug2276.scala b/test/files/run/bug2276.scala index 815e88e429..25c30d9e96 100644 --- a/test/files/run/bug2276.scala +++ b/test/files/run/bug2276.scala @@ -21,4 +21,4 @@ object Test extends Application { val ruleTransformer = new RuleTransformer(t1) println(ruleTransformer(inputXml)) -}
\ No newline at end of file +} diff --git a/test/files/run/bug363.scala b/test/files/run/bug363.scala index 104629016e..c747be2ec9 100644 --- a/test/files/run/bug363.scala +++ b/test/files/run/bug363.scala @@ -6,4 +6,4 @@ object Test { class Test { def kurtz() = "We must kill them. We must incinerate them." -}
\ No newline at end of file +} diff --git a/test/files/run/bug429.check b/test/files/run/bug429.check index 29d0834de7..9e871b7bff 100644 --- a/test/files/run/bug429.check +++ b/test/files/run/bug429.check @@ -1 +1 @@ -AyB1
\ No newline at end of file +AyB1 diff --git a/test/files/run/bug949.scala b/test/files/run/bug949.scala index 216e92a1c6..216e92a1c6 100755..100644 --- a/test/files/run/bug949.scala +++ b/test/files/run/bug949.scala diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala index 2d0ad74628..bbf2a0fb39 100644 --- a/test/files/run/bugs.scala +++ b/test/files/run/bugs.scala @@ -1,7 +1,6 @@ //############################################################################ // Bugs //############################################################################ -// $Id$ //############################################################################ // Bug 98 diff --git a/test/files/run/classof.scala b/test/files/run/classof.scala index b50facc1e9..b50facc1e9 100755..100644 --- a/test/files/run/classof.scala +++ b/test/files/run/classof.scala diff --git a/test/files/run/colltest1.scala b/test/files/run/colltest1.scala index 2fc8af2390..2fc8af2390 100755..100644 --- a/test/files/run/colltest1.scala +++ b/test/files/run/colltest1.scala diff --git a/test/files/run/constructors.scala b/test/files/run/constructors.scala index e85f3b8667..90926431f9 100644 --- a/test/files/run/constructors.scala +++ b/test/files/run/constructors.scala @@ -1,5 +1,3 @@ -// $Id$ - // Test constructors, including multiple ones. class A(x: Int, y: Int) { diff --git a/test/files/run/enums.scala b/test/files/run/enums.scala index 8ccdf138a2..99986787b7 100644 --- a/test/files/run/enums.scala +++ b/test/files/run/enums.scala @@ -1,7 +1,6 @@ //############################################################################ // Enumerations //############################################################################ -// $Id$ object Test1 { diff --git a/test/files/run/exceptions-2.scala b/test/files/run/exceptions-2.scala index 5b233d9552..820ab3634d 100644 --- a/test/files/run/exceptions-2.scala +++ b/test/files/run/exceptions-2.scala @@ -1,7 +1,5 @@ /* * Try exception handling and finally blocks. - * - * $Id$ */ trait Tree extends Exception; diff --git a/test/files/run/exceptions.scala b/test/files/run/exceptions.scala index 37516737a2..fc3566f85e 100644 --- a/test/files/run/exceptions.scala +++ b/test/files/run/exceptions.scala @@ -1,7 +1,6 @@ //############################################################################ // Exceptions //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/existentials.scala b/test/files/run/existentials.scala index 471f8fe779..471f8fe779 100755..100644 --- a/test/files/run/existentials.scala +++ b/test/files/run/existentials.scala diff --git a/test/files/run/exoticnames.scala b/test/files/run/exoticnames.scala index 7c8dcea5e8..9250d62dd0 100644 --- a/test/files/run/exoticnames.scala +++ b/test/files/run/exoticnames.scala @@ -4,4 +4,4 @@ object Test extends Application { def `.` = error("bla") def `)` = error("bla") def `,` = error("bla") -}
\ No newline at end of file +} diff --git a/test/files/run/fors.scala b/test/files/run/fors.scala index 7465b01287..868a05369b 100644 --- a/test/files/run/fors.scala +++ b/test/files/run/fors.scala @@ -1,7 +1,6 @@ //############################################################################ // for-comprehensions (old and new syntax) //############################################################################ -// $Id: $ //############################################################################ diff --git a/test/files/run/forvaleq.scala b/test/files/run/forvaleq.scala index 80d41acd85..8c1824a769 100644 --- a/test/files/run/forvaleq.scala +++ b/test/files/run/forvaleq.scala @@ -1,5 +1,4 @@ // test "foo = expr" clauses in for comprehensions -// $Id$ import scala.collection.immutable.Queue import scala.{List=>L} diff --git a/test/files/run/imports.scala b/test/files/run/imports.scala index 22e6fa9ca5..4bdbef9f95 100644 --- a/test/files/run/imports.scala +++ b/test/files/run/imports.scala @@ -1,7 +1,6 @@ //############################################################################ // Import statements //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/iq.scala b/test/files/run/iq.scala index 1b57fb3674..88a2884fcc 100644 --- a/test/files/run/iq.scala +++ b/test/files/run/iq.scala @@ -1,4 +1,4 @@ -/* $Id$ +/* * Test file for immutable queues. */ diff --git a/test/files/run/issue192.scala b/test/files/run/issue192.scala index f36f6aead3..55130072b7 100644 --- a/test/files/run/issue192.scala +++ b/test/files/run/issue192.scala @@ -86,4 +86,4 @@ object Test extends Application { println("ok") -}
\ No newline at end of file +} diff --git a/test/files/run/iterators.scala b/test/files/run/iterators.scala index 11c41662d7..5879d38df3 100644 --- a/test/files/run/iterators.scala +++ b/test/files/run/iterators.scala @@ -1,7 +1,6 @@ //############################################################################ // Iterators //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/lisp.scala b/test/files/run/lisp.scala index eeafadcc9b..014990fc37 100644 --- a/test/files/run/lisp.scala +++ b/test/files/run/lisp.scala @@ -1,7 +1,6 @@ //############################################################################ // Lisp interpreter //############################################################################ -// $Id$ //############################################################################ // Lisp Scanner diff --git a/test/files/run/lists.scala b/test/files/run/lists.scala index 9e62fd72be..695d5a0336 100644 --- a/test/files/run/lists.scala +++ b/test/files/run/lists.scala @@ -1,7 +1,6 @@ //############################################################################ // Lists //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/literals.scala b/test/files/run/literals.scala index 213eca1bb8..32bc29fda8 100644 --- a/test/files/run/literals.scala +++ b/test/files/run/literals.scala @@ -1,7 +1,6 @@ //############################################################################ // Literals //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/misc.scala b/test/files/run/misc.scala index a636ef99d8..2ae76bd968 100644 --- a/test/files/run/misc.scala +++ b/test/files/run/misc.scala @@ -1,5 +1,3 @@ -// $Id$ - object Test { def fac(n: Int): Int = if (n < 2) 1 else fac(n - 1) * n; diff --git a/test/files/run/mixins.scala b/test/files/run/mixins.scala index bbc20d33d2..23aec6b524 100644 --- a/test/files/run/mixins.scala +++ b/test/files/run/mixins.scala @@ -1,5 +1,3 @@ -// $Id$ - // Test 1: "super" coming from mixins import Console._; diff --git a/test/files/run/overloads.scala b/test/files/run/overloads.scala index 882f510a3d..e84fef0213 100644 --- a/test/files/run/overloads.scala +++ b/test/files/run/overloads.scala @@ -1,7 +1,6 @@ //############################################################################ // Overloads //############################################################################ -// $Id$ //############################################################################ diff --git a/test/files/run/packrat2.scala b/test/files/run/packrat2.scala index dda9a32906..e5c8db0f50 100644 --- a/test/files/run/packrat2.scala +++ b/test/files/run/packrat2.scala @@ -54,4 +54,4 @@ object grammars2 extends StandardTokenParsers with PackratParsers{ println(AnBnCn(r)) println(r.getCache.size) */ -}
\ No newline at end of file +} diff --git a/test/files/run/proxy.check b/test/files/run/proxy.check index f311ce0361..9eb68b1e90 100644 --- a/test/files/run/proxy.check +++ b/test/files/run/proxy.check @@ -1,4 +1,4 @@ false true false -false
\ No newline at end of file +false diff --git a/test/files/run/proxy.scala b/test/files/run/proxy.scala index d9c7bcf69f..48192a7a79 100644 --- a/test/files/run/proxy.scala +++ b/test/files/run/proxy.scala @@ -6,4 +6,4 @@ object Test extends Application { println(p equals 2) println(p equals 3) println(p equals null) -}
\ No newline at end of file +} diff --git a/test/files/run/runtime.scala.disabled b/test/files/run/runtime.scala.disabled index 45fdf91c95..2dcb41fb50 100644 --- a/test/files/run/runtime.scala.disabled +++ b/test/files/run/runtime.scala.disabled @@ -1,7 +1,6 @@ //############################################################################ // Run Time Bugs & Test Cases //############################################################################ -// $Id$ //############################################################################ // Test 0 - Array creation diff --git a/test/files/run/stringbuilder.scala b/test/files/run/stringbuilder.scala index eb0fccd067..c669f1c3db 100644 --- a/test/files/run/stringbuilder.scala +++ b/test/files/run/stringbuilder.scala @@ -29,4 +29,4 @@ object Test extends Application { sameAnswers(_.lastIndexOf("QZV")) sameAnswers(_.lastIndexOf("GHI", 22)) sameAnswers(_.lastIndexOf("KLM", 22)) -}
\ No newline at end of file +} diff --git a/test/files/run/t0042.scala b/test/files/run/t0042.scala index 53314f2885..53314f2885 100755..100644 --- a/test/files/run/t0042.scala +++ b/test/files/run/t0042.scala diff --git a/test/files/run/t0508.scala b/test/files/run/t0508.scala index 7ef6f8197f..7ef6f8197f 100755..100644 --- a/test/files/run/t0508.scala +++ b/test/files/run/t0508.scala diff --git a/test/files/run/t0700.scala b/test/files/run/t0700.scala index 5a7180528c..5a7180528c 100755..100644 --- a/test/files/run/t0700.scala +++ b/test/files/run/t0700.scala diff --git a/test/files/run/t0883.scala b/test/files/run/t0883.scala index b9d71702d8..b9d71702d8 100755..100644 --- a/test/files/run/t0883.scala +++ b/test/files/run/t0883.scala diff --git a/test/files/run/t1524.scala b/test/files/run/t1524.scala index 4520028dda..ecd90adec7 100644 --- a/test/files/run/t1524.scala +++ b/test/files/run/t1524.scala @@ -4,4 +4,4 @@ object Test extends Application { buf += "initial" buf += "second" println(buf.first) -}
\ No newline at end of file +} diff --git a/test/files/run/t1535.check b/test/files/run/t1535.check index 93359aa0d0..458a9ef080 100644 --- a/test/files/run/t1535.check +++ b/test/files/run/t1535.check @@ -1,2 +1,2 @@ 42 -true
\ No newline at end of file +true diff --git a/test/files/run/t1535.scala b/test/files/run/t1535.scala index 3633352c39..d0ae4814f4 100644 --- a/test/files/run/t1535.scala +++ b/test/files/run/t1535.scala @@ -12,4 +12,4 @@ object Test extends Application { val n = new ClassDecl () println (n.x) println (n.y) -}
\ No newline at end of file +} diff --git a/test/files/run/t1747.scala b/test/files/run/t1747.scala index bcda6b52d1..f7f54ee7dc 100644 --- a/test/files/run/t1747.scala +++ b/test/files/run/t1747.scala @@ -3,4 +3,4 @@ object Foo extends Foo { } class Foo -object Test extends Application { Foo }
\ No newline at end of file +object Test extends Application { Foo } diff --git a/test/files/run/t1773.scala b/test/files/run/t1773.scala index fc24f58b61..81c6005f86 100644 --- a/test/files/run/t1773.scala +++ b/test/files/run/t1773.scala @@ -9,4 +9,4 @@ object Test extends Application ) for (x1 <- xs; x2 <- xs) assert (x1 == x2) -}
\ No newline at end of file +} diff --git a/test/files/run/tailcalls.scala b/test/files/run/tailcalls.scala index 73bc1427a3..7f40277d4d 100644 --- a/test/files/run/tailcalls.scala +++ b/test/files/run/tailcalls.scala @@ -1,7 +1,6 @@ //############################################################################ // Tail Calls //############################################################################ -// $Id$ //############################################################################ // Calibration diff --git a/test/files/run/tcpoly_monads.scala b/test/files/run/tcpoly_monads.scala index 0ee160803a..bcfe6d2363 100644 --- a/test/files/run/tcpoly_monads.scala +++ b/test/files/run/tcpoly_monads.scala @@ -39,4 +39,4 @@ trait OptionMonad extends Monads { object Test extends OptionMonad with Application { Console.println((Some("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") >>= (x => Some(x.length))).get) -}
\ No newline at end of file +} diff --git a/test/files/run/tcpoly_overriding.scala b/test/files/run/tcpoly_overriding.scala index 970e16c71f..00ab580579 100644 --- a/test/files/run/tcpoly_overriding.scala +++ b/test/files/run/tcpoly_overriding.scala @@ -13,4 +13,4 @@ class B extends A[List] { object Test extends Application { Console.println((new B).b(0)) -}
\ No newline at end of file +} diff --git a/test/files/run/tcpoly_parseridioms.scala b/test/files/run/tcpoly_parseridioms.scala index 6d7a0be0c2..edc5d5cad8 100644 --- a/test/files/run/tcpoly_parseridioms.scala +++ b/test/files/run/tcpoly_parseridioms.scala @@ -63,7 +63,7 @@ trait Idioms { class IdiomaticTarget[idi[x], idiom <: Idiom[idi], s](i: idiom, tgt: s) { def dot [t](fun: s => t, name: String) = new IdiomaticApp2[idi, idiom, t](i, i.liftedApply(i.pureMethod(name, fun))(i.pure(tgt))) - } // TODO: `.` --> java.lang.ClassFormatError: Illegal method name "." in class Idioms$IdiomaticTarget + } // TODO: `.` --> java.lang.ClassFormatError: Illegal method name "." in class Idioms$Id$ class IdiomaticFunction[idi[x], idiom <: Idiom[idi], s, t](i: idiom, fun: s => t) { def <| (a: idi[s]) = new IdiomaticApp[idi, idiom, t](i, i.liftedApply(i.pure(fun))(a)) diff --git a/test/files/run/try-2.scala b/test/files/run/try-2.scala index ff40ea39f0..909a68bbd2 100644 --- a/test/files/run/try-2.scala +++ b/test/files/run/try-2.scala @@ -1,7 +1,6 @@ /* * Test different variants of the try-catch block. * - * $Id$ */ diff --git a/test/files/run/typealias_overriding.scala b/test/files/run/typealias_overriding.scala index 03330498eb..60e783791d 100644 --- a/test/files/run/typealias_overriding.scala +++ b/test/files/run/typealias_overriding.scala @@ -20,4 +20,4 @@ object Test extends Application { } new Linked -}
\ No newline at end of file +} diff --git a/test/files/run/unboxingBug.scala b/test/files/run/unboxingBug.scala index 62c2d20202..62c2d20202 100755..100644 --- a/test/files/run/unboxingBug.scala +++ b/test/files/run/unboxingBug.scala diff --git a/test/files/scalap/abstractClass/A.scala b/test/files/scalap/abstractClass/A.scala index 31fc819ae9..19a528d5a1 100644 --- a/test/files/scalap/abstractClass/A.scala +++ b/test/files/scalap/abstractClass/A.scala @@ -2,4 +2,4 @@ abstract class AbstractClass { def foo: String -}
\ No newline at end of file +} diff --git a/test/files/scalap/abstractClass/result.test b/test/files/scalap/abstractClass/result.test index 5483353339..9b8fc4dd95 100644 --- a/test/files/scalap/abstractClass/result.test +++ b/test/files/scalap/abstractClass/result.test @@ -1,4 +1,4 @@ abstract class AbstractClass extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def foo : scala.Predef.String -}
\ No newline at end of file +} diff --git a/test/files/scalap/abstractMethod/A.scala b/test/files/scalap/abstractMethod/A.scala index 419abdaa67..4bedb377b3 100644 --- a/test/files/scalap/abstractMethod/A.scala +++ b/test/files/scalap/abstractMethod/A.scala @@ -1,4 +1,4 @@ trait AbstractMethod { def arity: Int def isCool = true -}
\ No newline at end of file +} diff --git a/test/files/scalap/abstractMethod/result.test b/test/files/scalap/abstractMethod/result.test index 8668a7761e..a1bd378c87 100644 --- a/test/files/scalap/abstractMethod/result.test +++ b/test/files/scalap/abstractMethod/result.test @@ -2,4 +2,4 @@ trait AbstractMethod extends java.lang.Object with scala.ScalaObject { def $init$() : scala.Unit = { /* compiled code */ } def arity : scala.Int def isCool : scala.Boolean = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/caseClass/A.scala b/test/files/scalap/caseClass/A.scala index 3addfbdaaa..be86714898 100644 --- a/test/files/scalap/caseClass/A.scala +++ b/test/files/scalap/caseClass/A.scala @@ -1,3 +1,3 @@ case class CaseClass[A <: Seq[Int]](i: A, s: String) { def foo = 239 -}
\ No newline at end of file +} diff --git a/test/files/scalap/caseClass/result.test b/test/files/scalap/caseClass/result.test index be64349cb1..9ea19f7e9d 100644 --- a/test/files/scalap/caseClass/result.test +++ b/test/files/scalap/caseClass/result.test @@ -12,4 +12,4 @@ case class CaseClass[A >: scala.Nothing <: scala.Seq[scala.Int]] extends java.la override def productArity : scala.Int = { /* compiled code */ } override def productElement(x$1 : scala.Int) : scala.Any = { /* compiled code */ } override def canEqual(x$1 : scala.Any) : scala.Boolean = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/caseObject/A.scala b/test/files/scalap/caseObject/A.scala index 7c15416841..809341ade9 100644 --- a/test/files/scalap/caseObject/A.scala +++ b/test/files/scalap/caseObject/A.scala @@ -1,3 +1,3 @@ case object CaseObject { def bar = 239 -}
\ No newline at end of file +} diff --git a/test/files/scalap/caseObject/result.test b/test/files/scalap/caseObject/result.test index f81e6ce3cb..d888191919 100644 --- a/test/files/scalap/caseObject/result.test +++ b/test/files/scalap/caseObject/result.test @@ -6,4 +6,4 @@ case object CaseObject extends java.lang.Object with scala.ScalaObject with scal override def productElement(x$1 : scala.Int) : scala.Any = { /* compiled code */ } override def canEqual(x$1 : scala.Any) : scala.Boolean = { /* compiled code */ } protected def readResolve() : java.lang.Object = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/cbnParam/A.scala b/test/files/scalap/cbnParam/A.scala index d804ba6502..978a718032 100644 --- a/test/files/scalap/cbnParam/A.scala +++ b/test/files/scalap/cbnParam/A.scala @@ -1 +1 @@ -class CbnParam(s: => String)
\ No newline at end of file +class CbnParam(s: => String) diff --git a/test/files/scalap/cbnParam/result.test b/test/files/scalap/cbnParam/result.test index 7b18228986..c6b2f4caa8 100644 --- a/test/files/scalap/cbnParam/result.test +++ b/test/files/scalap/cbnParam/result.test @@ -1,3 +1,3 @@ class CbnParam extends java.lang.Object with scala.ScalaObject { def this(s : => scala.Predef.String) = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/classWithExistential/A.scala b/test/files/scalap/classWithExistential/A.scala index 2a77a842c9..4a5213f963 100644 --- a/test/files/scalap/classWithExistential/A.scala +++ b/test/files/scalap/classWithExistential/A.scala @@ -1,3 +1,3 @@ class ClassWithExistential { def foo[A, B] : A=> B forSome {type A <: Seq[Int]; type B >: String} = null -}
\ No newline at end of file +} diff --git a/test/files/scalap/classWithExistential/result.test b/test/files/scalap/classWithExistential/result.test index 377edff7ef..243f51e2ad 100644 --- a/test/files/scalap/classWithExistential/result.test +++ b/test/files/scalap/classWithExistential/result.test @@ -1,4 +1,4 @@ class ClassWithExistential extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def foo[A >: scala.Nothing <: scala.Any, B >: scala.Nothing <: scala.Any] : scala.Function1[A, B forSome {type A >: scala.Nothing <: scala.Seq[scala.Int]; type B >: scala.Predef.String <: scala.Any}] = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/classWithSelfAnnotation/A.scala b/test/files/scalap/classWithSelfAnnotation/A.scala index f665630690..9e0398622a 100644 --- a/test/files/scalap/classWithSelfAnnotation/A.scala +++ b/test/files/scalap/classWithSelfAnnotation/A.scala @@ -1,4 +1,4 @@ class ClassWithSelfAnnotation { this: CharSequence => def foo = 239 -}
\ No newline at end of file +} diff --git a/test/files/scalap/classWithSelfAnnotation/result.test b/test/files/scalap/classWithSelfAnnotation/result.test index 9e20790fa2..326437c7be 100644 --- a/test/files/scalap/classWithSelfAnnotation/result.test +++ b/test/files/scalap/classWithSelfAnnotation/result.test @@ -2,4 +2,4 @@ class ClassWithSelfAnnotation extends java.lang.Object with scala.ScalaObject { this : ClassWithSelfAnnotation with java.lang.CharSequence => def this() = { /* compiled code */ } def foo : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/covariantParam/A.scala b/test/files/scalap/covariantParam/A.scala index 19fb8805b7..5b2c24d6fa 100644 --- a/test/files/scalap/covariantParam/A.scala +++ b/test/files/scalap/covariantParam/A.scala @@ -1,3 +1,3 @@ class CovariantParam[+A] { def foo[A](a: A) = 42 -}
\ No newline at end of file +} diff --git a/test/files/scalap/covariantParam/result.test b/test/files/scalap/covariantParam/result.test index e7c4a00bcb..ce480ee0cd 100644 --- a/test/files/scalap/covariantParam/result.test +++ b/test/files/scalap/covariantParam/result.test @@ -1,4 +1,4 @@ class CovariantParam[+A >: scala.Nothing <: scala.Any] extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def foo[A >: scala.Nothing <: scala.Any](a : A) : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/implicitParam/A.scala b/test/files/scalap/implicitParam/A.scala index 5a5c88bc69..80657218d9 100644 --- a/test/files/scalap/implicitParam/A.scala +++ b/test/files/scalap/implicitParam/A.scala @@ -1,3 +1,3 @@ class ImplicitParam { def foo(i: Int)(implicit f: Float, d: Double) = 42 -}
\ No newline at end of file +} diff --git a/test/files/scalap/implicitParam/result.test b/test/files/scalap/implicitParam/result.test index 4d2f49e803..11d678df06 100644 --- a/test/files/scalap/implicitParam/result.test +++ b/test/files/scalap/implicitParam/result.test @@ -1,4 +1,4 @@ class ImplicitParam extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def foo(i : scala.Int)(implicit f : scala.Float, d : scala.Double) : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/packageObject/A.scala b/test/files/scalap/packageObject/A.scala index 959517c4c4..7e429c9935 100644 --- a/test/files/scalap/packageObject/A.scala +++ b/test/files/scalap/packageObject/A.scala @@ -1,4 +1,4 @@ package object PackageObject { type A = String def foo(i: Int) = 239 -}
\ No newline at end of file +} diff --git a/test/files/scalap/packageObject/result.test b/test/files/scalap/packageObject/result.test index 6a7cc16ba8..6a8d6ae1d5 100644 --- a/test/files/scalap/packageObject/result.test +++ b/test/files/scalap/packageObject/result.test @@ -2,4 +2,4 @@ package object PackageObject extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } type A = scala.Predef.String def foo(i : scala.Int) : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/paramClauses/A.scala b/test/files/scalap/paramClauses/A.scala index bcc76f50e3..f9d1917402 100644 --- a/test/files/scalap/paramClauses/A.scala +++ b/test/files/scalap/paramClauses/A.scala @@ -1,3 +1,3 @@ class ParamClauses { def foo(i: Int)(s: String)(t: Double) = 239 -}
\ No newline at end of file +} diff --git a/test/files/scalap/paramClauses/result.test b/test/files/scalap/paramClauses/result.test index 6ecbcec873..9ef93d2e76 100644 --- a/test/files/scalap/paramClauses/result.test +++ b/test/files/scalap/paramClauses/result.test @@ -1,4 +1,4 @@ class ParamClauses extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def foo(i : scala.Int)(s : scala.Predef.String)(t : scala.Double) : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/paramNames/result.test b/test/files/scalap/paramNames/result.test index 59565dc782..f9d98d9647 100644 --- a/test/files/scalap/paramNames/result.test +++ b/test/files/scalap/paramNames/result.test @@ -1,4 +1,4 @@ class ParamNames extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def foo(s : => scala.Seq[scala.Int], s2 : => scala.Seq[scala.Any]) : scala.Unit = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/sequenceParam/A.scala b/test/files/scalap/sequenceParam/A.scala index 98874fafb1..86e13340b9 100644 --- a/test/files/scalap/sequenceParam/A.scala +++ b/test/files/scalap/sequenceParam/A.scala @@ -1 +1 @@ -class SequenceParam(s: String, i: Int*)
\ No newline at end of file +class SequenceParam(s: String, i: Int*) diff --git a/test/files/scalap/sequenceParam/result.test b/test/files/scalap/sequenceParam/result.test index 928ab45ef1..4b9d7844ab 100644 --- a/test/files/scalap/sequenceParam/result.test +++ b/test/files/scalap/sequenceParam/result.test @@ -1,3 +1,3 @@ class SequenceParam extends java.lang.Object with scala.ScalaObject { def this(s : scala.Predef.String, i : scala.Int*) = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/simpleClass/A.scala b/test/files/scalap/simpleClass/A.scala index 04a2f5ee31..fa82e62680 100644 --- a/test/files/scalap/simpleClass/A.scala +++ b/test/files/scalap/simpleClass/A.scala @@ -1,3 +1,3 @@ class SimpleClass { def foo = 239 -}
\ No newline at end of file +} diff --git a/test/files/scalap/simpleClass/result.test b/test/files/scalap/simpleClass/result.test index b2ed8d0b34..d10b633bce 100644 --- a/test/files/scalap/simpleClass/result.test +++ b/test/files/scalap/simpleClass/result.test @@ -1,4 +1,4 @@ class SimpleClass extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def foo : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/traitObject/A.scala b/test/files/scalap/traitObject/A.scala index 3ad9c4954c..d5f43181c1 100644 --- a/test/files/scalap/traitObject/A.scala +++ b/test/files/scalap/traitObject/A.scala @@ -4,4 +4,4 @@ trait TraitObject { object TraitObject { def bar = 42 -}
\ No newline at end of file +} diff --git a/test/files/scalap/traitObject/result.test b/test/files/scalap/traitObject/result.test index c05a4b0968..0d7de1535d 100644 --- a/test/files/scalap/traitObject/result.test +++ b/test/files/scalap/traitObject/result.test @@ -5,4 +5,4 @@ trait TraitObject extends java.lang.Object with scala.ScalaObject { object TraitObject extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } def bar : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/valAndVar/result.test b/test/files/scalap/valAndVar/result.test index 011d57c64e..934ad0a086 100644 --- a/test/files/scalap/valAndVar/result.test +++ b/test/files/scalap/valAndVar/result.test @@ -2,4 +2,4 @@ class ValAndVar extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } val foo : java.lang.String = { /* compiled code */ } var bar : scala.Int = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/scalap/wildcardType/A.scala b/test/files/scalap/wildcardType/A.scala index d99841cb36..4bb0d14de5 100644 --- a/test/files/scalap/wildcardType/A.scala +++ b/test/files/scalap/wildcardType/A.scala @@ -1 +1 @@ -class WildcardType(f: Int => _)
\ No newline at end of file +class WildcardType(f: Int => _) diff --git a/test/files/scalap/wildcardType/result.test b/test/files/scalap/wildcardType/result.test index 78a24ef22a..aa3d5d53bc 100644 --- a/test/files/scalap/wildcardType/result.test +++ b/test/files/scalap/wildcardType/result.test @@ -1,3 +1,3 @@ class WildcardType extends java.lang.Object with scala.ScalaObject { def this(f : scala.Function1[scala.Int, _]) = { /* compiled code */ } -}
\ No newline at end of file +} diff --git a/test/files/script/second.bat b/test/files/script/second.bat index 222372d543..0d7085954d 100755 --- a/test/files/script/second.bat +++ b/test/files/script/second.bat @@ -1,3 +1,3 @@ -@echo off - -scala -nocompdaemon -e "println(\"My second argument is \" + args(1))" arg1 arg2 +@echo off
+
+scala -nocompdaemon -e "println(\"My second argument is \" + args(1))" arg1 arg2
diff --git a/test/files/script/second.scala b/test/files/script/second.scala index 48b8d73815..48b8d73815 100755..100644 --- a/test/files/script/second.scala +++ b/test/files/script/second.scala diff --git a/test/files/script/t1015.scala b/test/files/script/t1015.scala index 52d67bd6cc..52d67bd6cc 100755..100644 --- a/test/files/script/t1015.scala +++ b/test/files/script/t1015.scala diff --git a/test/files/script/t1017.scala b/test/files/script/t1017.scala index d1b43ea923..d1b43ea923 100755..100644 --- a/test/files/script/t1017.scala +++ b/test/files/script/t1017.scala diff --git a/test/files/script/utf8.scala b/test/files/script/utf8.scala index 5366562cee..5366562cee 100755..100644 --- a/test/files/script/utf8.scala +++ b/test/files/script/utf8.scala diff --git a/test/pending/jvm/serialization.scala b/test/pending/jvm/serialization.scala index d2c2cc5e7d..ff9413ae4b 100644 --- a/test/pending/jvm/serialization.scala +++ b/test/pending/jvm/serialization.scala @@ -1,7 +1,6 @@ //############################################################################ // Serialization //############################################################################ -// $Id$ import java.lang.System diff --git a/test/pending/neg/bug1210.scala b/test/pending/neg/bug1210.scala index b4c9c703be..fc2c954ff2 100644 --- a/test/pending/neg/bug1210.scala +++ b/test/pending/neg/bug1210.scala @@ -7,4 +7,4 @@ object Test { val v: selfType = id[M.this.selfType](_.v) } -}
\ No newline at end of file +} diff --git a/test/pending/neg/tcpoly_typealias_eta.scala b/test/pending/neg/tcpoly_typealias_eta.scala index 767dfe311c..0fb2c2d33e 100644 --- a/test/pending/neg/tcpoly_typealias_eta.scala +++ b/test/pending/neg/tcpoly_typealias_eta.scala @@ -43,4 +43,4 @@ trait BCon extends A{ trait BBound extends A{ type m/*[+x <: String]*/ = FooBound/*[x]*/ // error: x with stricter bound -}
\ No newline at end of file +} diff --git a/test/pending/neg/tcpoly_variance_enforce_getter_setter.scala b/test/pending/neg/tcpoly_variance_enforce_getter_setter.scala index 7888b9e2a1..321d392cc4 100644 --- a/test/pending/neg/tcpoly_variance_enforce_getter_setter.scala +++ b/test/pending/neg/tcpoly_variance_enforce_getter_setter.scala @@ -9,4 +9,4 @@ object test { var x: coll[FooInvar] = _ // TODO: error should be reported only once instead of separately for getter and setter var y: coll[FooContra] = _ -}
\ No newline at end of file +} diff --git a/test/pending/pos/bug0305.scala b/test/pending/pos/bug0305.scala index 3e7e8c60f4..433f0e72c3 100644 --- a/test/pending/pos/bug0305.scala +++ b/test/pending/pos/bug0305.scala @@ -5,4 +5,4 @@ object Test extends Application { Console.println( foo( List(3):_* ) ) -}
\ No newline at end of file +} diff --git a/test/pending/pos/bug1957.scala b/test/pending/pos/bug1957.scala index 62800524eb..f80cf730ed 100644 --- a/test/pending/pos/bug1957.scala +++ b/test/pending/pos/bug1957.scala @@ -35,4 +35,4 @@ object Test { } } -}
\ No newline at end of file +} diff --git a/test/pending/pos/bug2005.scala b/test/pending/pos/bug2005.scala index 24e79a2a33..2514a5f711 100644 --- a/test/pending/pos/bug2005.scala +++ b/test/pending/pos/bug2005.scala @@ -7,4 +7,4 @@ object Bug { val tmp = t(0) t(1) = tmp } -}
\ No newline at end of file +} diff --git a/test/pending/pos/bug2018.scala b/test/pending/pos/bug2018.scala index 3e7e623b2a..f1753f4d7a 100644 --- a/test/pending/pos/bug2018.scala +++ b/test/pending/pos/bug2018.scala @@ -12,4 +12,4 @@ class A { if (c == p) p else c.b.getAncestor(c) } } -}
\ No newline at end of file +} diff --git a/test/pending/pos/bug2023.scala b/test/pending/pos/bug2023.scala index 22ae76bdd7..21c6fc96a6 100644 --- a/test/pending/pos/bug2023.scala +++ b/test/pending/pos/bug2023.scala @@ -13,4 +13,4 @@ class ImplicitChainTest { P.foo('0', '9') P.foo('0', '9') } -}
\ No newline at end of file +} diff --git a/test/pending/pos/bug2261.scala b/test/pending/pos/bug2261.scala index 528f769171..a499af838a 100644 --- a/test/pending/pos/bug2261.scala +++ b/test/pending/pos/bug2261.scala @@ -3,4 +3,4 @@ object Test extends Application { implicit def foo2bar[T](xs: List[T]): Bob[T] = new Bob[T] var x: Bob[Int] = null x = List(1,2,3) -}
\ No newline at end of file +} diff --git a/test/pending/pos/misc/A.java b/test/pending/pos/misc/A.java index bc8ea48dd0..8eaa341151 100644 --- a/test/pending/pos/misc/A.java +++ b/test/pending/pos/misc/A.java @@ -10,4 +10,4 @@ class A { UNDEF } -}
\ No newline at end of file +} diff --git a/test/pending/pos/misc/B.scala b/test/pending/pos/misc/B.scala index a6889e3c8b..3a080e4712 100644 --- a/test/pending/pos/misc/B.scala +++ b/test/pending/pos/misc/B.scala @@ -4,4 +4,4 @@ class B { def myA = new A() -}
\ No newline at end of file +} diff --git a/test/pending/pos/sig/sigs.java b/test/pending/pos/sig/sigs.java index ddf8ec45b0..ddf8ec45b0 100755..100644 --- a/test/pending/pos/sig/sigs.java +++ b/test/pending/pos/sig/sigs.java diff --git a/test/pending/pos/sig/sigs.scala b/test/pending/pos/sig/sigs.scala index 72a293d0e6..72a293d0e6 100755..100644 --- a/test/pending/pos/sig/sigs.scala +++ b/test/pending/pos/sig/sigs.scala diff --git a/test/pending/pos/sig/sigtest.scala b/test/pending/pos/sig/sigtest.scala index 1d091390f7..1d091390f7 100755..100644 --- a/test/pending/pos/sig/sigtest.scala +++ b/test/pending/pos/sig/sigtest.scala diff --git a/test/pending/pos/t1035.scala b/test/pending/pos/t1035.scala index 294a0003a1..2485c10018 100644 --- a/test/pending/pos/t1035.scala +++ b/test/pending/pos/t1035.scala @@ -29,4 +29,4 @@ class D { } -}
\ No newline at end of file +} diff --git a/test/pending/pos/t1053.scala b/test/pending/pos/t1053.scala index 1d4dfb637e..1d4dfb637e 100755..100644 --- a/test/pending/pos/t1053.scala +++ b/test/pending/pos/t1053.scala diff --git a/test/pending/pos/t1836/J.java b/test/pending/pos/t1836/J.java index 55fc2a5f8d..a009a59e21 100644 --- a/test/pending/pos/t1836/J.java +++ b/test/pending/pos/t1836/J.java @@ -1 +1 @@ -public abstract class J<T> { protected J(T id) { } }
\ No newline at end of file +public abstract class J<T> { protected J(T id) { } } diff --git a/test/pending/pos/t1836/S.scala b/test/pending/pos/t1836/S.scala index b217cc4aaa..88ce1063e9 100644 --- a/test/pending/pos/t1836/S.scala +++ b/test/pending/pos/t1836/S.scala @@ -1 +1 @@ -class S extends J("")
\ No newline at end of file +class S extends J("") diff --git a/test/pending/res/bug837/DataFlowAnalysis.scala b/test/pending/res/bug837/DataFlowAnalysis.scala index 0197f5fbbf..25c2fbc635 100644 --- a/test/pending/res/bug837/DataFlowAnalysis.scala +++ b/test/pending/res/bug837/DataFlowAnalysis.scala @@ -14,4 +14,4 @@ abstract class Liveness { type P = String; val lattice = livenessLattice; } -}
\ No newline at end of file +} diff --git a/test/pending/run/arrays-2.scala b/test/pending/run/arrays-2.scala index 055616d98c..bee22db577 100644 --- a/test/pending/run/arrays-2.scala +++ b/test/pending/run/arrays-2.scala @@ -1,7 +1,6 @@ //############################################################################ // Arrays 2 //############################################################################ -// $Id: $ //############################################################################ diff --git a/test/pending/run/bug1042.scala b/test/pending/run/bug1042.scala index 47c0c37cc1..26b06a6f0c 100644 --- a/test/pending/run/bug1042.scala +++ b/test/pending/run/bug1042.scala @@ -11,4 +11,4 @@ case class B extends A { object Test extends Application { Console.println(B) -}
\ No newline at end of file +} diff --git a/test/pending/run/bug874.scala b/test/pending/run/bug874.scala index 29dfabe0e9..29dfabe0e9 100755..100644 --- a/test/pending/run/bug874.scala +++ b/test/pending/run/bug874.scala diff --git a/test/pending/run/bugs425-and-816.scala b/test/pending/run/bugs425-and-816.scala index eb44787a72..4e841ccc31 100644 --- a/test/pending/run/bugs425-and-816.scala +++ b/test/pending/run/bugs425-and-816.scala @@ -38,4 +38,4 @@ object Test { assert(bug816.go() == "CB") assert(bug425.go() == "B2") } -}
\ No newline at end of file +} diff --git a/test/pending/run/collections.scala b/test/pending/run/collections.scala index 6717b524bb..6717b524bb 100755..100644 --- a/test/pending/run/collections.scala +++ b/test/pending/run/collections.scala diff --git a/test/pending/run/t0446.scala b/test/pending/run/t0446.scala index e7688964a7..0f74b32ba0 100644 --- a/test/pending/run/t0446.scala +++ b/test/pending/run/t0446.scala @@ -3,4 +3,4 @@ object Test extends Application { val b = Array(1,3).dropWhile(_ < 2) println(a.toString) println(b.toString) -}
\ No newline at end of file +} diff --git a/test/pending/run/t0508x.scala b/test/pending/run/t0508x.scala index 0c1ffde3ed..0c1ffde3ed 100755..100644 --- a/test/pending/run/t0508x.scala +++ b/test/pending/run/t0508x.scala diff --git a/test/pending/script/errors.scala b/test/pending/script/errors.scala index 2e2025b203..2e2025b203 100755..100644 --- a/test/pending/script/errors.scala +++ b/test/pending/script/errors.scala |