diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-09-14 12:11:54 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-09-14 12:11:54 +0000 |
commit | 4c47e9435d8872a30f579ed451293d4772b95c31 (patch) | |
tree | ef6b15a99abca671750bc478a2f6c8257a10d369 /test/files/neg/t0226.check | |
parent | c40a798bf0b9ebe26385d42dbd90edc61ca0896d (diff) | |
download | scala-4c47e9435d8872a30f579ed451293d4772b95c31.tar.gz scala-4c47e9435d8872a30f579ed451293d4772b95c31.tar.bz2 scala-4c47e9435d8872a30f579ed451293d4772b95c31.zip |
relax implicit divergence check
patch contributed by Mark Harrah in
http://article.gmane.org/gmane.comp.lang.scala/20700
reviewed by moors and odersky
Diffstat (limited to 'test/files/neg/t0226.check')
-rw-r--r-- | test/files/neg/t0226.check | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/neg/t0226.check b/test/files/neg/t0226.check index e27ffbc1e1..af81e41a6a 100644 --- a/test/files/neg/t0226.check +++ b/test/files/neg/t0226.check @@ -4,8 +4,7 @@ t0226.scala:5: error: not found: type A1 t0226.scala:5: error: not found: type A1 (implicit _1: Foo[List[A1]], _2: Foo[A2]): Foo[Tuple2[List[A1], A2]] = ^ -t0226.scala:8: error: diverging implicit expansion for type Test.this.Foo[((List[Char], Int), (object Nil, Int))] -starting with method list2Foo in class Test +t0226.scala:8: error: could not find implicit value for parameter rep: Test.this.Foo[((List[Char], Int), (object Nil, Int))] foo(((List('b'), 3), (Nil, 4))) ^ three errors found |