diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-03 15:06:02 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-03 15:18:23 -0800 |
commit | fb87f2de763e558c8639905ea8dfb447b5212cf7 (patch) | |
tree | 155b8fc90c1021ed67d5fe576eafb4a5a745797b /test/files | |
parent | 61d34ed3fd61ab60ddea10445c737a3c9a6aa525 (diff) | |
download | scala-fb87f2de763e558c8639905ea8dfb447b5212cf7.tar.gz scala-fb87f2de763e558c8639905ea8dfb447b5212cf7.tar.bz2 scala-fb87f2de763e558c8639905ea8dfb447b5212cf7.zip |
Test case closes SI-4777.
And pending tests for most of the other VerifyErrors which
still fail to verify.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t4147.scala (renamed from test/files/run/si4147.scala) | 0 | ||||
-rw-r--r-- | test/files/run/t4777.check | 2 | ||||
-rw-r--r-- | test/files/run/t4777.scala | 8 | ||||
-rw-r--r-- | test/files/run/t5171.check (renamed from test/files/run/si5171.check) | 0 | ||||
-rw-r--r-- | test/files/run/t5171.scala (renamed from test/files/run/si5171.scala) | 0 | ||||
-rw-r--r-- | test/files/run/t5262.check (renamed from test/files/run/si5262.check) | 0 | ||||
-rw-r--r-- | test/files/run/t5262.scala (renamed from test/files/run/si5262.scala) | 0 | ||||
-rw-r--r-- | test/files/run/t5374.check (renamed from test/files/run/si5374.check) | 0 | ||||
-rw-r--r-- | test/files/run/t5374.scala (renamed from test/files/run/si5374.scala) | 0 | ||||
-rw-r--r-- | test/files/run/t5375.check (renamed from test/files/run/si5375.check) | 0 | ||||
-rw-r--r-- | test/files/run/t5375.scala (renamed from test/files/run/si5375.scala) | 0 | ||||
-rw-r--r-- | test/files/run/t5380.scala (renamed from test/files/run/si5380.scala) | 0 |
12 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/si4147.scala b/test/files/run/t4147.scala index c1e2d746a9..c1e2d746a9 100644 --- a/test/files/run/si4147.scala +++ b/test/files/run/t4147.scala diff --git a/test/files/run/t4777.check b/test/files/run/t4777.check new file mode 100644 index 0000000000..11f1f59d43 --- /dev/null +++ b/test/files/run/t4777.check @@ -0,0 +1,2 @@ +28 +28 diff --git a/test/files/run/t4777.scala b/test/files/run/t4777.scala new file mode 100644 index 0000000000..4a811d3b9a --- /dev/null +++ b/test/files/run/t4777.scala @@ -0,0 +1,8 @@ +class A(val a: Int = 13) +class DefaultsTest(x: Int = 25) extends A(28) +object DefaultsTest extends DefaultsTest(12) + +object Test extends App { + println(new DefaultsTest() a) + println(DefaultsTest a) +} diff --git a/test/files/run/si5171.check b/test/files/run/t5171.check index 159606d35c..159606d35c 100644 --- a/test/files/run/si5171.check +++ b/test/files/run/t5171.check diff --git a/test/files/run/si5171.scala b/test/files/run/t5171.scala index eb8029df80..eb8029df80 100644 --- a/test/files/run/si5171.scala +++ b/test/files/run/t5171.scala diff --git a/test/files/run/si5262.check b/test/files/run/t5262.check index 4c7a875de5..4c7a875de5 100644 --- a/test/files/run/si5262.check +++ b/test/files/run/t5262.check diff --git a/test/files/run/si5262.scala b/test/files/run/t5262.scala index fc4e57aa96..fc4e57aa96 100644 --- a/test/files/run/si5262.scala +++ b/test/files/run/t5262.scala diff --git a/test/files/run/si5374.check b/test/files/run/t5374.check index 6be88d77ec..6be88d77ec 100644 --- a/test/files/run/si5374.check +++ b/test/files/run/t5374.check diff --git a/test/files/run/si5374.scala b/test/files/run/t5374.scala index 9b1671e795..9b1671e795 100644 --- a/test/files/run/si5374.scala +++ b/test/files/run/t5374.scala diff --git a/test/files/run/si5375.check b/test/files/run/t5375.check index 7d3002ffda..7d3002ffda 100644 --- a/test/files/run/si5375.check +++ b/test/files/run/t5375.check diff --git a/test/files/run/si5375.scala b/test/files/run/t5375.scala index e4b329deae..e4b329deae 100644 --- a/test/files/run/si5375.scala +++ b/test/files/run/t5375.scala diff --git a/test/files/run/si5380.scala b/test/files/run/t5380.scala index 6083161a9b..6083161a9b 100644 --- a/test/files/run/si5380.scala +++ b/test/files/run/t5380.scala |