aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t2421c.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/t2421c.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/t2421c.scala')
-rw-r--r--tests/untried/pos/t2421c.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/untried/pos/t2421c.scala b/tests/untried/pos/t2421c.scala
index d212fb903..bd24cacd7 100644
--- a/tests/untried/pos/t2421c.scala
+++ b/tests/untried/pos/t2421c.scala
@@ -10,8 +10,8 @@ object Test {
// generalised from t2421b to verify we check enough
class G[X]
- implicit def g[X] = new G[X]()
- implicit def b[X <: B](implicit mx: G[X]) = new F[X]()
+ implicit def g[X]: Test.G[X] = new G[X]()
+ implicit def b[X <: B](implicit mx: G[X]): Test.F[X] = new F[X]()
f
}