aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t0591.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t0591.scala')
-rw-r--r--tests/untried/pos/t0591.scala2
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]]
}