Write documentation for linking to non-trivial dart entities #1663
Labels
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
It's not documented anywhere how to link to non-trivial Dart entities.
Simple
[prefix.class.member]
references, or relative[nameInScope]
are easy (which scope is used should be documented, though), but it's not clear how to link to:[C]
refers to the class, the constructor has no other name.[==]
or[operator ==]
?[unary-]
? In another class it's[C.==]
or[C.operator==]
?[[]]
or[operator[]]
or ?[foo=]
?Can you refer to a parameter of a function?
[foo.paramName]
? (You can refer to it with a relative name in the doc for the function itself, so it's not clear whether you can refer to it from the outside).Can you refer to a library (if inside it and using its name? If outside it?)
(I've been writing Dart libraries for years, and I can't answer these questions, so please help me) :)
The text was updated successfully, but these errors were encountered: