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
The warning is correct if there is no other code in the library that uses the import.
You don't need to import a file in order to export it, the two are completely separate.
Do you get the warning even if you do use the imported library in the current library?
Added NeedsInfo label. Changed the title to: "Getting warning about unused import when importing and exporting same file.".
This issue was originally filed by [email protected]
What steps will reproduce the problem?
import "some/file.dart";
export "some/file.dart";
What is the expected output? What do you see instead?
Expected: no warning
Instead: "Unused Import"
What version of the product are you using? On what operating system?
Dart Editor / Dart SDK r25822
The text was updated successfully, but these errors were encountered: