How can I refer to an instance field when writing documentation?
Consider this code:
object Foo { val foo = 42 } class Foo { val foo = 42 }
In Java, you can use Foo.foo for the "static" method and Foo#foo for the instance method.
But in Scala # already running for path dependent types and
class Foo { class foo def foo = 42 }
is a legal code, so I canβt unambiguously refer to it.
Is there any agreement what this should look like?
source share