Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exporting files in a single record and destructring each member #4122

Open
sanba-anass opened this issue Oct 6, 2024 · 2 comments
Open

exporting files in a single record and destructring each member #4122

sanba-anass opened this issue Oct 6, 2024 · 2 comments
Labels
feature Proposed language feature that solves one or more problems needs-info

Comments

@sanba-anass
Copy link

sanba-anass commented Oct 6, 2024

  export (  'file1.dart', 'file2.dart ', 'file3.dart'  );
  final ( foo ,bar , baz )  = import('file.dart'); 
@sanba-anass sanba-anass added the feature Proposed language feature that solves one or more problems label Oct 6, 2024
@sanba-anass sanba-anass changed the title exporting and importing files in a single set exporting files in a single record and destructring each member Oct 6, 2024
@hydro63
Copy link

hydro63 commented Oct 6, 2024

Huh? Before posting some code, please explain the problem / motivation, the desired behaviour, and the proposed syntax.

@lrhn
Copy link
Member

lrhn commented Oct 7, 2024

As @hydro63 says:
Why? What problem are your trying to solve?
What? What does this syntax do?

Do the two lines occur in the same library?

If I guess currently at every question, My guess is that nested and exported namespaces, and a rename modifier on imports, would do what this is asking for, and be a better match for the current syntax. Unless it's also looking for local imports.

@lrhn lrhn added the needs-info label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Proposed language feature that solves one or more problems needs-info
Projects
None yet
Development

No branches or pull requests

3 participants