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

Merge all code of same namespaces declared in different files together #15321

Closed
fis-cz opened this issue Apr 23, 2017 · 2 comments
Closed

Merge all code of same namespaces declared in different files together #15321

fis-cz opened this issue Apr 23, 2017 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@fis-cz
Copy link

fis-cz commented Apr 23, 2017

I am writing class per file, interface per file. However, these classes and namespaces are declared in the same namespace.

Currently, we need to export everything from the namespace to be accessible form the same namespace but declared in another file. This makes everything declared in the namespace available outside of it, even if I don't want to.
Also, It makes impossible to perform effective code minification.

Is there any special reason why this can't be done? I can imagine there can be a compilator option for it.

Thanks,
Frantisek

@fis-cz fis-cz changed the title Merge all code of same namespaces together when module is set to none Merge all code of same namespaces declared in different files together Apr 23, 2017
@mhegazy
Copy link
Contributor

mhegazy commented Apr 24, 2017

Seems like a duplicate of #447

@mhegazy mhegazy added the Duplicate An existing issue was already created label Apr 24, 2017
@fis-cz
Copy link
Author

fis-cz commented Apr 24, 2017

Yep, it is.

@fis-cz fis-cz closed this as completed Apr 24, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants