summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/BigInt.scala2
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
*/