You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A way that currently works to link an operator bracket operator in dartdoc is [operator []], but we should also support [[]], and even that doesn't work outside the currently documented class. The prefix linking is covered in #1402.
If I write
[[]]
it acts like a code quote, but it doesn't actually link to the operator[]
.This is used an several places, e.g., https://api.dartlang.org/stable/1.20.1/dart-collection/LinkedHashMap/LinkedHashMap.html.
From testing, I can't refer to a type imported with a prefix. If I write
[prefix.AClass]
it does not link to that class.Also, I can't find a good way to refer to the
unary-
operator. I tried[unary-]
and it didn't link. Using[-]
links to the binary minus operator.Here's an example of things that could/should work: https://gist.github.com/lrhn/32617fc179ed1b4d53e443d56a21343b
(I'm not sure the
[setter=]
syntax needs to work, but it would be convenient and consistent that the actual name of the member can be used).The text was updated successfully, but these errors were encountered: