diff options
author | Paul Phillips <paulp@improving.org> | 2012-05-10 23:19:55 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-10 23:20:56 -0700 |
commit | ef32a8b9334307d15d9fa68d3da3f6f80b200788 (patch) | |
tree | e4727e50d595de563c8d6c6936389c4090e4db60 /test/files/pos/t1987a.scala | |
parent | df10f921158ea13ce8fb53c8e15ec290ace69d83 (diff) | |
download | scala-ef32a8b9334307d15d9fa68d3da3f6f80b200788.tar.gz scala-ef32a8b9334307d15d9fa68d3da3f6f80b200788.tar.bz2 scala-ef32a8b9334307d15d9fa68d3da3f6f80b200788.zip |
Removing redunant/passing tests from pending.
Diffstat (limited to 'test/files/pos/t1987a.scala')
-rw-r--r-- | test/files/pos/t1987a.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t1987a.scala b/test/files/pos/t1987a.scala new file mode 100644 index 0000000000..ccab133716 --- /dev/null +++ b/test/files/pos/t1987a.scala @@ -0,0 +1,8 @@ +package object overloading { + def bar(f: (Int) => Unit): Unit = () + def bar(f: (Int, Int) => Unit): Unit = () +} + +class PackageObjectOverloadingTest { + overloading.bar( (i: Int) => () ) // doesn't compile. +} |