Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/library-aux/scala/AnyRef.scala
Expand Up @@ -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
Expand All @@ -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`.
*
Expand Down