From b9785280a7138a2bb52060faf94807aa0d07dec1 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 24 Aug 2011 17:11:55 +0000 Subject: Renamed tests named bugXXX to tXXX, no review. --- test/pending/pos/t1987/b.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/pending/pos/t1987/b.scala (limited to 'test/pending/pos/t1987/b.scala') diff --git a/test/pending/pos/t1987/b.scala b/test/pending/pos/t1987/b.scala new file mode 100644 index 0000000000..a469ca6ea8 --- /dev/null +++ b/test/pending/pos/t1987/b.scala @@ -0,0 +1,10 @@ +// compile with t1987a.scala + +package bug.packageb +// Note that the overloading works if instead of being in the package we import it: +// replace the above line with import bug.packageb._ + +class Client { + val x = func(1) // doesn't compile: type mismatch; found: Int(1) required: String + val y = func("1") // compiles +} -- cgit v1.2.3