diff options
author | Martin Odersky <odersky@gmail.com> | 2009-12-18 15:16:51 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-12-18 15:16:51 +0000 |
commit | 32bfcc419420300ecb294e5fb1c8210f5fbe6d6d (patch) | |
tree | 8f289d7cc47b3535730bae461326debcdd06d6bf /test/files/pos | |
parent | e8f34924dc5d8066f9a468d3276552d2b66d11a1 (diff) | |
download | scala-32bfcc419420300ecb294e5fb1c8210f5fbe6d6d.tar.gz scala-32bfcc419420300ecb294e5fb1c8210f5fbe6d6d.tar.bz2 scala-32bfcc419420300ecb294e5fb1c8210f5fbe6d6d.zip |
Closed #1492. review by extempore
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/implicits.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/implicits.scala b/test/files/pos/implicits.scala index 4979835e21..14241a2655 100644 --- a/test/files/pos/implicits.scala +++ b/test/files/pos/implicits.scala @@ -12,6 +12,17 @@ class C1435 { } } +// #1492 +class C1492 { + + class X + + def foo(x: X => X) {} + + foo ( implicit x => implicitly[X] ) + foo { implicit x => implicitly[X] } +} + // #1579 object Test1579 { class Column |