diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2011-06-14 12:41:48 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2011-06-14 12:41:48 +0000 |
commit | 7fa4ca91ffc1d36f0cb1fe89998578aea242e2f9 (patch) | |
tree | c8334d41540f12981edda4645e41a06e731dc622 /test/files/pos/t4547.scala | |
parent | 4ba275137e02e485de1b1447e780b97c4e0b3cbd (diff) | |
download | scala-7fa4ca91ffc1d36f0cb1fe89998578aea242e2f9.tar.gz scala-7fa4ca91ffc1d36f0cb1fe89998578aea242e2f9.tar.bz2 scala-7fa4ca91ffc1d36f0cb1fe89998578aea242e2f9.zip |
closes #4547.
review by rompf -- odersky may want to take a quick look and update the spec
Diffstat (limited to 'test/files/pos/t4547.scala')
-rw-r--r-- | test/files/pos/t4547.scala | 4 |
1 files changed, 4 insertions, 0 deletions
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 |