-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-uxfeature-enhanced-partsRegarding the 'enhanced-parts' featureRegarding the 'enhanced-parts' featuretype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
With enhanced parts, it seems imports should be before part directives, but they come after part of directives. This makes some sense, but it's easy to get wrong. If I put an import after a part, I get a clear error message:
However the same is not true if I get a part of and import the wrong way around:
The error makes it seem like I can't have imports in this file, but in reality I just need to put them after the part of.
FMorschel
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-uxfeature-enhanced-partsRegarding the 'enhanced-parts' featureRegarding the 'enhanced-parts' featuretype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Type
Projects
Status
Todo

