summaryrefslogtreecommitdiff
path: root/test/files/neg/dbldef.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-01 13:01:59 -0700
committerPaul Phillips <paulp@improving.org>2012-11-02 00:08:34 -0700
commit77a45858777554c6e1fb7b9583359a6a492ec066 (patch)
tree619dd3849b1d0b4d3e91ef1cb6bce819e9cf5767 /test/files/neg/dbldef.check
parent14704da1b854e04d8e8de81eb7741757f33a2d13 (diff)
downloadscala-77a45858777554c6e1fb7b9583359a6a492ec066.tar.gz
scala-77a45858777554c6e1fb7b9583359a6a492ec066.tar.bz2
scala-77a45858777554c6e1fb7b9583359a6a492ec066.zip
The improvements made possible by the scope changes.
Diffstat (limited to 'test/files/neg/dbldef.check')
-rw-r--r--test/files/neg/dbldef.check4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/files/neg/dbldef.check b/test/files/neg/dbldef.check
index 3ee63475e4..b896c4cdcf 100644
--- a/test/files/neg/dbldef.check
+++ b/test/files/neg/dbldef.check
@@ -6,9 +6,7 @@ dbldef.scala:1: error: type mismatch;
required: Int
case class test0(x: Int, x: Float)
^
-dbldef.scala:1: error: type mismatch;
- found : Float
- required: Int
+dbldef.scala:1: error: in class test0, multiple overloaded alternatives of x define default arguments
case class test0(x: Int, x: Float)
^
three errors found