summaryrefslogtreecommitdiff
path: root/test/pending/pos
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-05-23 16:50:45 -0700
committerPaul Phillips <paulp@improving.org>2013-05-23 23:18:42 -0700
commitde12ca6ef8071820c6b2a9403ccab9aa6ed51c0b (patch)
tree20da62ee1cb063a60b7a7e4fa2d9081e11093265 /test/pending/pos
parentf81a4f92967a2dd69784864e9ab9e1624d7db35b (diff)
downloadscala-de12ca6ef8071820c6b2a9403ccab9aa6ed51c0b.tar.gz
scala-de12ca6ef8071820c6b2a9403ccab9aa6ed51c0b.tar.bz2
scala-de12ca6ef8071820c6b2a9403ccab9aa6ed51c0b.zip
SI-7486 Regressions in implicit search.
Revert e86832d7e8 and dd33e280e2.
Diffstat (limited to 'test/pending/pos')
-rw-r--r--test/pending/pos/t7486.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pending/pos/t7486.scala b/test/pending/pos/t7486.scala
new file mode 100644
index 0000000000..6dd7f4c4ac
--- /dev/null
+++ b/test/pending/pos/t7486.scala
@@ -0,0 +1,8 @@
+object Test{
+ var locker = 0
+ // remove implicit, or change to `locker = locker + 1` to make it compile.
+ implicit val davyJones0 = {
+ locker += 0
+ 0
+ }
+}