diff options
author | Dominik Gruntz <dominik.gruntz@fhnw.ch> | 2012-07-05 23:49:39 +0200 |
---|---|---|
committer | Dominik Gruntz <dominik.gruntz@fhnw.ch> | 2012-07-05 23:49:39 +0200 |
commit | efc6854f7df46a479cbdd2c40e777edd6ee36d33 (patch) | |
tree | 3d1097375bba276ef659cbe207f607b63e5366ff /test/files/pos/t6033.scala | |
parent | 171a1d8bc859947d80d4728c251abe330dbe9802 (diff) | |
download | scala-efc6854f7df46a479cbdd2c40e777edd6ee36d33.tar.gz scala-efc6854f7df46a479cbdd2c40e777edd6ee36d33.tar.bz2 scala-efc6854f7df46a479cbdd2c40e777edd6ee36d33.zip |
SI-6033 Closed. Provides implicit conversion from java.math.BigInteger to BigInt
Diffstat (limited to 'test/files/pos/t6033.scala')
-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 +} |