language icon indicating copy to clipboard operation
language copied to clipboard

Enhanced parts

Open jakemac53 opened this issue 1 year ago • 5 comments

Tracking issue for the language feature, see spec here https://github.com/dart-lang/language/blob/main/working/augmentation-libraries/parts_with_imports.md.

jakemac53 avatar Nov 06 '24 16:11 jakemac53

this is basically adding the hability to use import inside parts, right?

it is very useful, thought

jodinathan avatar Dec 06 '24 14:12 jodinathan

It allow import, export and part inside a part file, and it allows conditional part file URIs.

Other than that, it's nothing new. (I think that's a big thing! In particular, I expect conditional parts combined with augmenting declarations to be very useful for platform-specialized code, and probably the main non-macro use of augmentations.)

lrhn avatar Dec 06 '24 14:12 lrhn

It allow import, export and part inside a part file, and it allows conditional part file URIs.

Other than that, it's nothing new. (I think that's a big thing! In particular, I expect conditional parts combined with augmenting declarations to be very useful for platform-specialized code, and probably the main non-macro use of augmentations.)

this is incredible.
Please give us that as soon as you possibily can.

jodinathan avatar Dec 06 '24 14:12 jodinathan

is there a list of tasks for this?
I would like to have a glimpse on how close we are

jodinathan avatar May 23 '25 16:05 jodinathan

is there a list of tasks for this? I would like to have a glimpse on how close we are

Looks like it's been shelved for a while. https://github.com/orgs/dart-lang/projects/70/views/8 https://github.com/orgs/dart-lang/projects/70/views/7?filterQuery=-Status%3ADone+enhanced-parts

xxoo avatar May 25 '25 02:05 xxoo