diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-08-21 12:05:23 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-08-21 12:05:23 +0200 |
commit | bc6d4b5c1d6746528fd442d8504f30909d7e6067 (patch) | |
tree | 2423f1077563ebc3687d422d5e5639912a9dcf3a | |
parent | ed230b51affa509a03298182b281afce5a74a87d (diff) | |
download | scala-bc6d4b5c1d6746528fd442d8504f30909d7e6067.tar.gz scala-bc6d4b5c1d6746528fd442d8504f30909d7e6067.tar.bz2 scala-bc6d4b5c1d6746528fd442d8504f30909d7e6067.zip |
SI-7486 More tests for cycles triggered by implicit search
Moved an existing test from `pending` to `pos`. Not sure why
it was moved to `pending` in the first place.
Adds a new test distilled from building Scalaz with 2.10.3-RC1.
-rw-r--r-- | test/files/pos/t7486-named.scala | 8 | ||||
-rw-r--r-- | test/files/pos/t7486.scala (renamed from test/pending/pos/t7486.scala) | 0 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t7486-named.scala b/test/files/pos/t7486-named.scala new file mode 100644 index 0000000000..253293e5f1 --- /dev/null +++ b/test/files/pos/t7486-named.scala @@ -0,0 +1,8 @@ + +object Test { + def fold(empty: Any) = () + implicit val notAnnotatedImplicit = new { + fold(empty = 0) + def empty[A]: Any = ??? + } +} diff --git a/test/pending/pos/t7486.scala b/test/files/pos/t7486.scala index 6dd7f4c4ac..6dd7f4c4ac 100644 --- a/test/pending/pos/t7486.scala +++ b/test/files/pos/t7486.scala |