diff options
author | Samuel Gruetter <samuel.gruetter@epfl.ch> | 2014-03-19 17:07:46 +0100 |
---|---|---|
committer | Samuel Gruetter <samuel.gruetter@epfl.ch> | 2014-03-19 17:07:46 +0100 |
commit | 33b0e7b1ab0e71f525c75705dcd91b4b7d9d0994 (patch) | |
tree | d666ced3c08e0745bebb706148abbac56df78c8c /tests/untried/pos/t6556.scala | |
parent | 1dfe6567fee9626106211088e41c4683342ec0f8 (diff) | |
download | dotty-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/t6556.scala')
-rw-r--r-- | tests/untried/pos/t6556.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t6556.scala b/tests/untried/pos/t6556.scala index e1a6f49b8..13560e8ba 100644 --- a/tests/untried/pos/t6556.scala +++ b/tests/untried/pos/t6556.scala @@ -7,7 +7,7 @@ trait Adapter[X] {self => } object Adapter { - implicit def adaptee[Adaptee](adapter: Adapter[Adaptee]) = adapter.adaptee + implicit def adaptee[Adaptee](adapter: Adapter[Adaptee]): Adaptee = adapter.adaptee } |