Open
Description
Using:
/// @docImport 'package:test/test.dart';
library;
This works fine, but if package:test
isn't a direct-dependency, or if it's a dev_dependency
you probably shouldn't do this in lib/
.
When rendering documentation on pub.dev we don't resolve dev_dependency
, the same is the case when your documentation is rendered in a hover in the IDE.
I can also see the argument that we shouldn't care about this, because functionally it doesn't matter if you do this. Though, it'll cause problems when we analyze your package for scoring, and render your documentation on pub.dev