~ubuntu-branches/debian/sid/scala/sid

« back to all changes in this revision

Viewing changes to test/files/neg/t5553_2.check

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg, Mehdi Dogguy, Lucas Satabin, Frank S. Thomas, Emmanuel Bourg
  • Date: 2015-06-05 23:52:59 UTC
  • mfrom: (1.2.11)
  • Revision ID: package-import@ubuntu.com-20150605235259-wk00vgk83dh8o19g
Tags: 2.10.5-1
* Team upload.

[ Mehdi Dogguy ]
* New upstream release (Closes: #744278).

[ Lucas Satabin ]
* Update patches
* Update the clean target
* Update paths of elements to install
* Update watch file

[ Frank S. Thomas ]
* Remove myself from Uploaders.

[ Emmanuel Bourg ]
* The package has been adopted by the Java Team (Closes: #754935)
* Patched the build to avoid downloading libraries from the Internet
* Replaced the minified JavaScript files with unobfuscated ones
* No longer build scala-partest.jar until diffutils is packaged or replaced
* debian/watch: Fixed the versions matched (x.y.z instead of x.y.z..z)
* debian/rules:
  - Added the missing get-orig-source target (Closes: #724704)
  - Improved the clean target
* debian/control:
  - Build depend on scala (>= 2.10) and bnd
  - Use canonical URLs for the Vcs-* fields
  - Standards-Version updated to 3.9.6 (no changes)
* Switch to debhelper level 9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
t5553_2.scala:27: error: type mismatch;
 
2
 found   : Base[T]
 
3
 required: Int
 
4
  def test4[T]: Int     = Foo1[T](1)
 
5
                                 ^
 
6
t5553_2.scala:34: error: type mismatch;
 
7
 found   : String
 
8
 required: Base[T]
 
9
  def test7[T]: Base[T] = Foo2[T]
 
10
                              ^
 
11
t5553_2.scala:35: error: type mismatch;
 
12
 found   : String
 
13
 required: Int
 
14
  def test8[T]: Int     = Foo2[T]
 
15
                              ^
 
16
t5553_2.scala:40: error: type mismatch;
 
17
 found   : String
 
18
 required: Int
 
19
  def test9[T]: Int     = Foo3[T]
 
20
                              ^
 
21
t5553_2.scala:41: error: type mismatch;
 
22
 found   : String
 
23
 required: Base[T]
 
24
  def test10[T]: Base[T] = Foo3[T]
 
25
                               ^
 
26
t5553_2.scala:47: error: could not find implicit value for parameter z: String
 
27
  def test13[T]: Int     = Foo3[T]
 
28
                               ^
 
29
t5553_2.scala:48: error: could not find implicit value for parameter z: String
 
30
  def test14[T]: Base[T] = Foo3[T]
 
31
                               ^
 
32
t5553_2.scala:49: error: could not find implicit value for parameter z: String
 
33
  def test15[T]: String = Foo3[T]
 
34
                              ^
 
35
t5553_2.scala:50: error: could not find implicit value for parameter z: String
 
36
  def test16[T]         = Foo3[T]
 
37
                              ^
 
38
t5553_2.scala:54: error: ambiguous reference to overloaded definition,
 
39
both method apply in object Foo4 of type (x: Int)(implicit z: String)Base[T]
 
40
and  method apply in object Foo4 of type (x: Int)Base[T]
 
41
match argument types (Int)
 
42
  def test17[T]          = Foo4[T](1)
 
43
                               ^
 
44
t5553_2.scala:55: error: ambiguous reference to overloaded definition,
 
45
both method apply in object Foo4 of type (x: Int)(implicit z: String)Base[T]
 
46
and  method apply in object Foo4 of type (x: Int)Base[T]
 
47
match argument types (Int) and expected result type Base[T]
 
48
  def test18[T]: Base[T] = Foo4[T](1)
 
49
                               ^
 
50
11 errors found