summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-08-15 15:39:41 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-08-15 17:46:28 +0200
commit19659ba878605cf5b6d9cbd3ba9ced812336817f (patch)
treea530330ffa80953030796b7133731ce37641d226
parent6a67ef69144e5ad33857fde582cbf191e56cd82b (diff)
downloadscala-19659ba878605cf5b6d9cbd3ba9ced812336817f.tar.gz
scala-19659ba878605cf5b6d9cbd3ba9ced812336817f.tar.bz2
scala-19659ba878605cf5b6d9cbd3ba9ced812336817f.zip
Dominik's comments on api.Mirrors
-rw-r--r--src/reflect/scala/reflect/api/Mirrors.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reflect/scala/reflect/api/Mirrors.scala b/src/reflect/scala/reflect/api/Mirrors.scala
index 2530b20644..7d185d9879 100644
--- a/src/reflect/scala/reflect/api/Mirrors.scala
+++ b/src/reflect/scala/reflect/api/Mirrors.scala
@@ -150,7 +150,7 @@ trait Mirrors { self: Universe =>
def runtimeClass: RuntimeClass
/** True if the mirror represents the static part
- * if a runtime class or the companion object of a Scala class.
+ * of a runtime class or the companion object of a Scala class.
* One has:
*
* this.isStatic == this.isInstanceOf[ModuleMirror]
@@ -192,7 +192,7 @@ trait Mirrors { self: Universe =>
* Otherwise, if the mirror represents the static part of a runtime class, the
* mirror representing the instance part of the same class.
*/
- def companion: Option[ClassMirror]
+ override def companion: Option[ClassMirror]
}
/** A mirror that reflects the instance parts of a runtime class */
@@ -219,7 +219,7 @@ trait Mirrors { self: Universe =>
* Otherwise, if the mirror represents a runtime instance class, a mirror representing the static
* part of the same class.
*/
- def companion: Option[ModuleMirror]
+ override def companion: Option[ModuleMirror]
}
/** A mirror that reflects instances and static classes */