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/t0591.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/t0591.scala')
-rw-r--r-- | tests/untried/pos/t0591.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t0591.scala b/tests/untried/pos/t0591.scala index 15f2dba08..6cb5e29b4 100644 --- a/tests/untried/pos/t0591.scala +++ b/tests/untried/pos/t0591.scala @@ -1,7 +1,7 @@ object Test { def implicitly[T](implicit t : T) = t implicit def perhaps[T](implicit t : T) : Option[T] = Some(t) - implicit val hello = "Hello" + implicit val hello: String = "Hello" implicitly[String] implicitly[Option[String]] } |