summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Gruntz <dominik.gruntz@fhnw.ch>2012-07-06 17:49:34 +0200
committerDominik Gruntz <dominik.gruntz@fhnw.ch>2012-07-06 17:49:34 +0200
commit67a14466be4948542e924d2b118dda1c52213e6e (patch)
treecf12906638eb799462f6398b78bbab2045245c61
parent58c053c454dd0cb1146434b97380e4910b6060d7 (diff)
downloadscala-67a14466be4948542e924d2b118dda1c52213e6e.tar.gz
scala-67a14466be4948542e924d2b118dda1c52213e6e.tar.bz2
scala-67a14466be4948542e924d2b118dda1c52213e6e.zip
removes special case for BigInteger
After rebasing, the commit 34d36108bf is in the history, therefore a patch in my code can be removed as an implicit conversion from BigInteger to BigInt was added in commit 34d36108bf. The tests cases test this case and still pass.
-rw-r--r--src/compiler/scala/tools/reflect/MacroImplementations.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/reflect/MacroImplementations.scala b/src/compiler/scala/tools/reflect/MacroImplementations.scala
index 8e5f4d8d04..a5f7928f55 100644
--- a/src/compiler/scala/tools/reflect/MacroImplementations.scala
+++ b/src/compiler/scala/tools/reflect/MacroImplementations.scala
@@ -69,8 +69,7 @@ abstract class MacroImplementations {
case 'c' | 'C' =>
checkType(arg, CharTpe, ByteTpe, ShortTpe, IntTpe)
case 'd' | 'o' | 'x' | 'X' =>
- checkType(arg, IntTpe, LongTpe, ByteTpe, ShortTpe, typeOf[BigInt], typeOf[java.math.BigInteger])
- // BigInteger can be removed as soon as an implicit conversion is defined from BigInteger to BigInt
+ checkType(arg, IntTpe, LongTpe, ByteTpe, ShortTpe, typeOf[BigInt])
case 'e' | 'E' | 'g' | 'G' | 'f' | 'a' | 'A' =>
checkType(arg, DoubleTpe, FloatTpe, typeOf[BigDecimal])
case 't' | 'T' =>