aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/ticket2201.scala
diff options
context:
space:
mode:
authorSamuel Gruetter <samuel.gruetter@epfl.ch>2014-03-19 17:07:46 +0100
committerSamuel Gruetter <samuel.gruetter@epfl.ch>2014-03-19 17:07:46 +0100
commit33b0e7b1ab0e71f525c75705dcd91b4b7d9d0994 (patch)
treed666ced3c08e0745bebb706148abbac56df78c8c /tests/untried/pos/ticket2201.scala
parent1dfe6567fee9626106211088e41c4683342ec0f8 (diff)
downloaddotty-33b0e7b1ab0e71f525c75705dcd91b4b7d9d0994.tar.gz
dotty-33b0e7b1ab0e71f525c75705dcd91b4b7d9d0994.tar.bz2
dotty-33b0e7b1ab0e71f525c75705dcd91b4b7d9d0994.zip
apply srewrite (explicit types for implicits + no procedure syntax
for constructors) to tests/untried/pos
Diffstat (limited to 'tests/untried/pos/ticket2201.scala')
-rw-r--r--tests/untried/pos/ticket2201.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/ticket2201.scala b/tests/untried/pos/ticket2201.scala
index 21af170cf..96b7b4a3d 100644
--- a/tests/untried/pos/ticket2201.scala
+++ b/tests/untried/pos/ticket2201.scala
@@ -1,5 +1,5 @@
class Test
-object Test { implicit def view(x : Test) = 0 }
+object Test { implicit def view(x : Test): Int = 0 }
object Call {
def call(implicit view : Test => Int) = view(null)