diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-09-24 12:30:39 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-09-24 12:30:39 +0000 |
commit | 7fa6c08f531a65d4b238deee8907644b8a37a499 (patch) | |
tree | b87b1c641acc3a931fde5d4df18f2030b96e00a3 /test/files/pos/t3808.scala | |
parent | ba5d0ec898c7c7fffc56e00bb955b53ec4c8e3da (diff) | |
download | scala-7fa6c08f531a65d4b238deee8907644b8a37a499.tar.gz scala-7fa6c08f531a65d4b238deee8907644b8a37a499.tar.bz2 scala-7fa6c08f531a65d4b238deee8907644b8a37a499.zip |
closes #3808.
moved typing indentation to where it belongs, now inliner shuold be able
to do its job in implicits as well
no review
Diffstat (limited to 'test/files/pos/t3808.scala')
-rw-r--r-- | test/files/pos/t3808.scala | 11 |
1 files changed, 11 insertions, 0 deletions
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 |