Scala Programming Language
  1. Scala Programming Language
  2. SI-4324

Scaladoc doesn't distinguish case class argument lists

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Scala 2.10.0-M5
    • Component/s: Scaladoc Tool
    • Labels:
    • Environment:

      scaladoc case class

      Description

      E.g. the title of the `MouseClicked` doc shows

      `case class MouseClicked (source: Component, point: Point, modifiers: Modifiers, clicks: Int, triggersPopup: Boolean, peer: MouseEvent)`

      even though `peer` is actually in a separate argument list. Which is unhelpful since it looks like this title is supposed to show the form of `unapply`.

        Activity

        Hide
        Vlad Ureche added a comment -

        Test case:

        case class M(i: Int)(s: String) {
          def f(i1: Int)(s1: String) = ()
        }
        

        The only broken signature is the one on the top of the page (case class M(i: Int, s: String) extends Product with Serializable).
        Seems related to html generation.

        Show
        Vlad Ureche added a comment - Test case: case class M(i: Int)(s: String) { def f(i1: Int)(s1: String) = () } The only broken signature is the one on the top of the page (case class M(i: Int, s: String) extends Product with Serializable). Seems related to html generation.
        Show
        Adriaan Moors added a comment - https://github.com/scala/scala/pull/925
        Hide
        Vlad Ureche added a comment -

        Fixed in 8779ade6.

        Show
        Vlad Ureche added a comment - Fixed in 8779ade6 .

          People

          • Assignee:
            Vlad Ureche
            Reporter:
            Jamie Webb
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development