Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
In `for inner classes `val mm2 = im.reflectClass(<module symbol>)``, `<module symbol>` should read `<class symbol>`.
  • Loading branch information
Blaisorblade committed Jan 17, 2014
1 parent 695b9e1 commit 99a75c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflect/scala/reflect/api/Mirrors.scala
Expand Up @@ -153,7 +153,7 @@ package api
* *
* '''[[scala.reflect.api.Mirrors#ClassMirror]]'''. Used for creating invoker mirrors for constructors. * '''[[scala.reflect.api.Mirrors#ClassMirror]]'''. Used for creating invoker mirrors for constructors.
* Entry points: for ''static classes'' `val cm1 = m.reflectClass(<class symbol>)`, * Entry points: for ''static classes'' `val cm1 = m.reflectClass(<class symbol>)`,
* for ''inner classes'' `val mm2 = im.reflectClass(<module symbol>)`. * for ''inner classes'' `val mm2 = im.reflectClass(<class symbol>)`.
* Example: * Example:
* {{{ * {{{
* scala> case class C(x: Int) * scala> case class C(x: Int)
Expand Down

0 comments on commit 99a75c0

Please sign in to comment.