diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-07-05 17:26:38 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-07-05 17:26:38 -0700 |
commit | 34d36108bf152469a934408da2b55c1df9c70a7a (patch) | |
tree | 3d1097375bba276ef659cbe207f607b63e5366ff /test | |
parent | 171a1d8bc859947d80d4728c251abe330dbe9802 (diff) | |
parent | efc6854f7df46a479cbdd2c40e777edd6ee36d33 (diff) | |
download | scala-34d36108bf152469a934408da2b55c1df9c70a7a.tar.gz scala-34d36108bf152469a934408da2b55c1df9c70a7a.tar.bz2 scala-34d36108bf152469a934408da2b55c1df9c70a7a.zip |
Merge pull request #831 from dgruntz/issue/6033
SI-6033 Closed. Provides implicit conversion from BigInteger to BigInt
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t6033.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t6033.scala b/test/files/pos/t6033.scala new file mode 100644 index 0000000000..60142af6be --- /dev/null +++ b/test/files/pos/t6033.scala @@ -0,0 +1,5 @@ +object Test extends App { + val b = new java.math.BigInteger("123") + val big1 = BigInt(b) + val big2: BigInt = b +} |