-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
As @goderbauer found earlier, when removing the name portion of a library directive, e.g. s/library widgets;/library;
changes the URI of the generated docs for the widgets library.
It turns out this should have worked; there is code in Library.dirName
that picks a "dir name" for an anonymous library. That code should strip the package prefix from libraries in the "default package." When generating docs for the Flutter SDK, the Flutter "package" is considered "default," but it's name is capitalized: "Flutter." Because of this, the stripping behavior does not work.
This issue prevents the flutter SDK from adopting the unnecessary_library_names
lint rule.
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)