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

Scaladoc doesn't show Source link of package objects, nor linear supertypes, or ordering and inherited filters

    Details

      Description

      Scaladoc will show an abbreviated version of the page it shows for package objects. It doesn't display the source link, linear supertypes, or the filters for ordering and inherited. All these things are valid – consider scala.sys.process, which extends a trait, for one example.

        Activity

        Hide
        Vlad Ureche added a comment -

        Simple test case:

        test/traits.scala
        package test
        trait A { def hi = "hello" }
        trait B { def bye = "bye!" }
        
        test/package.scala
        package object test extends A with B {
          override def hi = "good morning!"
          override def bye = "good bye!"
          protected def thank = "thank you!"
        }
        
        Show
        Vlad Ureche added a comment - Simple test case: test/traits.scala package test trait A { def hi = "hello" } trait B { def bye = "bye!" } test/package.scala package object test extends A with B { override def hi = "good morning!" override def bye = "good bye!" protected def thank = "thank you!" }
        Hide
        Kato Kazuyoshi added a comment -

        https://github.com/scala/scala/pull/470

        The above modification will fix

        • linear supertypes
        • the filters for ordering and inherited.

        but there is no source link yet.

        Show
        Kato Kazuyoshi added a comment - https://github.com/scala/scala/pull/470 The above modification will fix linear supertypes the filters for ordering and inherited. but there is no source link yet.
        Hide
        Kato Kazuyoshi added a comment -

        Opened an another pull request to add a source link.
        https://github.com/scala/scala/pull/1911

        Show
        Kato Kazuyoshi added a comment - Opened an another pull request to add a source link. https://github.com/scala/scala/pull/1911

          People

          • Assignee:
            Kato Kazuyoshi
            Reporter:
            Daniel Sobral
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development