diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-10-03 23:13:04 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-10-03 23:56:12 +0200 |
commit | fb515bca0549cbc84a40b23889d1f038bcb0ef3a (patch) | |
tree | 47c27a7e0c292340f9b6ee765baefeb2e0bfded2 /src/compiler/scala/tools/util | |
parent | 992d255e2fc1ca487a60e38196ec4aa952617b92 (diff) | |
download | scala-fb515bca0549cbc84a40b23889d1f038bcb0ef3a.tar.gz scala-fb515bca0549cbc84a40b23889d1f038bcb0ef3a.tar.bz2 scala-fb515bca0549cbc84a40b23889d1f038bcb0ef3a.zip |
renames macros.ReificationError to ReificationException
And again, this is not a fatal error, so it should end with an Error,
and it should subclass not Throwable, but Exception.
Diffstat (limited to 'src/compiler/scala/tools/util')
-rw-r--r-- | src/compiler/scala/tools/util/PathResolver.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/util/PathResolver.scala b/src/compiler/scala/tools/util/PathResolver.scala index f6dc92f96e..7cf3586d3d 100644 --- a/src/compiler/scala/tools/util/PathResolver.scala +++ b/src/compiler/scala/tools/util/PathResolver.scala @@ -195,7 +195,7 @@ class PathResolver(settings: Settings, context: JavaContext) { def scalaExtDirs = cmdLineOrElse("extdirs", Defaults.scalaExtDirs) /** Scaladoc doesn't need any bootstrapping, otherwise will create errors such as: * [scaladoc] ../scala-trunk/src/reflect/scala/reflect/macros/Reifiers.scala:89: error: object api is not a member of package reflect - * [scaladoc] case class ReificationError(val pos: reflect.api.PositionApi, val msg: String) extends Throwable(msg) + * [scaladoc] case class ReificationException(val pos: reflect.api.PositionApi, val msg: String) extends Throwable(msg) * [scaladoc] ^ * because the bootstrapping will look at the sourcepath and create package "reflect" in "<root>" * and then when typing relative names, instead of picking <root>.scala.relect, typedIdentifier will pick up the |