From 7fa6c08f531a65d4b238deee8907644b8a37a499 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 24 Sep 2010 12:30:39 +0000 Subject: closes #3808. moved typing indentation to where it belongs, now inliner shuold be able to do its job in implicits as well no review --- test/files/pos/t3808.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/files/pos/t3808.scala (limited to 'test/files') diff --git a/test/files/pos/t3808.scala b/test/files/pos/t3808.scala new file mode 100644 index 0000000000..294621803a --- /dev/null +++ b/test/files/pos/t3808.scala @@ -0,0 +1,11 @@ +object Test { + def meh: Unit = { + trait TC[I] + implicit val tci = new TC[Int]{} + + def baz[J : TC] : String = "meh" + + baz + // () // commenting or uncommenting this line should not affect compilation (visibly) + } +} \ No newline at end of file -- cgit v1.2.3