Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

complete the fix for SI-5077 by adding parens in AnyRef.scala as well #105

Closed
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/library-aux/scala/AnyRef.scala
View
4 src/library-aux/scala/AnyRef.scala
@@ -24,7 +24,7 @@ trait AnyRef extends Any {
*
* @return the hash code value for this object.
*/
- def hashCode: Int = sys.error("hashCode")
+ def hashCode(): Int = sys.error("hashCode")
/** Creates a String representation of this object. The default
* representation is platform dependent. On the java platform it
@@ -33,7 +33,7 @@ trait AnyRef extends Any {
*
* @return a String representation of the object.
*/
- def toString: String = sys.error("toString")
+ def toString(): String = sys.error("toString")
/** Executes the code in `body` with an exclusive lock on `this`.
*
Something went wrong with that request. Please try again.