Closed
Description
When I generate the documentation for a script:
const String TYPE_NICE = "nice";
const String TYPE_VERY_NICE = "very_nice";
/// Main function uses [TYPE_NICE] and [TYPE_VERY_NICE].
main(List<String> args) {
}
Then there is a problem with constant of a name TYPE_VERY_NICE
. I found out that the reason is that when I use more than one underscore, the constant is written with brackets.
Output of the comment in the documentation looks like this:
Main function uses TYPE_NICE and [TYPE_VERY_NICE].
To see it you need to go to the detail of the function in the documentation.
Same problem with the old docgen: dart-lang/sdk#23883