diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-04-21 15:00:30 -0700 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-04-21 15:00:30 -0700 |
commit | e8b37c79ca0535da56f852d922c1f88c3fd0e005 (patch) | |
tree | 56b84ab76b941abaaff35500ac1d61fc191859d1 /test/files/pos/xlint1.scala | |
parent | df7cf4f3d9c35949436038728850927e782e587b (diff) | |
parent | 8556ca04c466cd7f7412465f02c52b764104f736 (diff) | |
download | scala-e8b37c79ca0535da56f852d922c1f88c3fd0e005.tar.gz scala-e8b37c79ca0535da56f852d922c1f88c3fd0e005.tar.bz2 scala-e8b37c79ca0535da56f852d922c1f88c3fd0e005.zip |
Merge pull request #2410 from paulp/pr/parameterized-implicit
Quiet down overloaded implicit warning.
Diffstat (limited to 'test/files/pos/xlint1.scala')
-rw-r--r-- | test/files/pos/xlint1.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/xlint1.scala b/test/files/pos/xlint1.scala new file mode 100644 index 0000000000..27936d8b14 --- /dev/null +++ b/test/files/pos/xlint1.scala @@ -0,0 +1,13 @@ +package object foo { + implicit class Bar[T](val x: T) extends AnyVal { + def bippy = 1 + } +} + +package foo { + object Baz { + def main(args: Array[String]): Unit = { + "abc".bippy + } + } +} |