From 7fa4ca91ffc1d36f0cb1fe89998578aea242e2f9 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 14 Jun 2011 12:41:48 +0000 Subject: closes #4547. review by rompf -- odersky may want to take a quick look and update the spec --- test/files/pos/t4547.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/pos/t4547.scala (limited to 'test/files/pos') diff --git a/test/files/pos/t4547.scala b/test/files/pos/t4547.scala new file mode 100644 index 0000000000..01f229bbf6 --- /dev/null +++ b/test/files/pos/t4547.scala @@ -0,0 +1,4 @@ +object Main { + def g: BigInt = 5 + BigInt(4) // since we're looking for an implicit that converts an int into something that has a + method that takes a BigInt, BigInt should be in the implicit scope + def g2 = 5 + BigInt(4) +} \ No newline at end of file -- cgit v1.2.3