diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-07-01 11:10:23 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-07-01 11:10:23 +0000 |
commit | 6cee8d5837b77e5a3ba18affb802fbb466f004ee (patch) | |
tree | 6af7a9217ff5dba47563c7e4d3f0c0e30d256ca5 /test/files/neg | |
parent | 7ac2fc34f7fabf846b4d5ebecf26eb63d123ab4b (diff) | |
download | scala-6cee8d5837b77e5a3ba18affb802fbb466f004ee.tar.gz scala-6cee8d5837b77e5a3ba18affb802fbb466f004ee.tar.bz2 scala-6cee8d5837b77e5a3ba18affb802fbb466f004ee.zip |
added "diagnostic" to context.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/names-defaults-neg.check | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/names-defaults-neg.check b/test/files/neg/names-defaults-neg.check index f4ab2e5f99..a6200419ce 100644 --- a/test/files/neg/names-defaults-neg.check +++ b/test/files/neg/names-defaults-neg.check @@ -90,11 +90,13 @@ names-defaults-neg.scala:70: error: wrong number of arguments for <none>: (x: In ^ names-defaults-neg.scala:77: error: inferred kinds of the type arguments (List[Int]) do not conform to the expected kinds of the type parameters (type T). List[Int]'s type parameters do not match type T's expected parameters: class List has one type parameter, but type T has one +Error occured in an application involving default arguments. test4() ^ error: type mismatch; found : List[Int] required: List[List[scala.List[List[X forSome { type X }]]]] +Error occured in an application involving default arguments. names-defaults-neg.scala:80: error: type mismatch; found : List[Int] required: scala.List[scala.List[?]] @@ -103,6 +105,7 @@ names-defaults-neg.scala:80: error: type mismatch; names-defaults-neg.scala:83: error: type mismatch; found : Int required: String +Error occured in an application involving default arguments. new A2[String]() ^ names-defaults-neg.scala:95: error: multiple overloaded alternatives of method foo define default arguments |