From efc6854f7df46a479cbdd2c40e777edd6ee36d33 Mon Sep 17 00:00:00 2001 From: Dominik Gruntz Date: Thu, 5 Jul 2012 23:49:39 +0200 Subject: SI-6033 Closed. Provides implicit conversion from java.math.BigInteger to BigInt --- test/files/pos/t6033.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/pos/t6033.scala (limited to 'test/files/pos/t6033.scala') 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 +} -- cgit v1.2.3