diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-03-23 17:28:51 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-03-23 17:28:51 +0000 |
commit | 22fa9933896b195e92911b68369d5d7c607e616b (patch) | |
tree | 75a4f6bf9fbd1064fa0291239fd6b9a4fc70138f /src/library | |
parent | 2464205e534ddca861b113d9771a06859544b997 (diff) | |
download | scala-22fa9933896b195e92911b68369d5d7c607e616b.tar.gz scala-22fa9933896b195e92911b68369d5d7c607e616b.tar.bz2 scala-22fa9933896b195e92911b68369d5d7c607e616b.zip |
Fixed unary minus in BigInt (changed from -: to...
Fixed unary minus in BigInt (changed from -: to unary_-)
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/BigInt.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/BigInt.scala b/src/library/scala/BigInt.scala index 2993680e45..09f5fa08f2 100644 --- a/src/library/scala/BigInt.scala +++ b/src/library/scala/BigInt.scala @@ -237,7 +237,7 @@ class BigInt(val bigInteger: BigInteger) extends runtime.BoxedNumber { /** Returns a BigInt whose value is the negation of this BigInt */ - def - : BigInt = new BigInt(this.bigInteger.negate()) + def unary_- : BigInt = new BigInt(this.bigInteger.negate()) /** Returns the absolute value of this BigInt */ |