On Tue, Feb 5, 2013 at 11:48 AM, Jason Zaugg <notifications@github.com>wrote:

> In src/compiler/scala/tools/nsc/interactive/Global.scala:
>
> > -          catch {
> > -            case ex: ControlThrowable => throw ex
> > -            case ex: Throwable =>
> > -              println("error in hyperlinking: " + ex)
> > -              ex.printStackTrace()
> > +  private[interactive] def forceDocComment(sym: Symbol, unit: RichCompilationUnit) {
> > +    // Either typer has been run and we don't find DocDef,
> > +    // or we force the targeted typecheck here.
> > +    // In both cases doc comment maps should be filled for the subject symbol.
> > +    val docTree =
> > +      unit.body find { t =>
> > +        t match {
> > +          case DocDef(_, defn) if defn.symbol eq sym => true
> > +          case _ => false
> > +        }
> > +      }
>
> { case p => e } desugaring is context sensitive; you get a FunctionN or
> PartialFunction depending on the expected type.
>
Ah, I see. Will change that, thank you.

>  —
> Reply to this email directly or view it on GitHub<https://github.com/scala/scala/pull/2065/files#r2889065>.
>
>