From 67a14466be4948542e924d2b118dda1c52213e6e Mon Sep 17 00:00:00 2001 From: Dominik Gruntz Date: Fri, 6 Jul 2012 17:49:34 +0200 Subject: 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. --- src/compiler/scala/tools/reflect/MacroImplementations.scala | 3 +-- 1 file changed, 1 insertion(+), 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' => -- cgit v1.2.3