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

[SR-11182] New namespace keyword #53579

Open
swift-ci opened this issue Jul 22, 2019 · 2 comments
Open

[SR-11182] New namespace keyword #53579

swift-ci opened this issue Jul 22, 2019 · 2 comments
Labels
compiler The Swift compiler in itself feature A feature request or implementation swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-11182
Radar None
Original Reporter ColinRoache (JIRA User)
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s
Labels New Feature, LanguageFeatureRequest
Assignee None
Priority Medium

md5: fcde89a5a81a398f18e3f5d38a927f38

Issue Description:

This is how I would like to be able use a 'namespace' keyword:

internal
namespace
Tools
{
    
    internal
    class
    MyTool
    { }
    
}

This is how I currently create namespaces:

internal
final
class
Tools
{
    
    private
    init( )
    { }
    
    internal
    class
    MyTool
    { }
    
}
@belkadan
Copy link
Contributor

This change would have to go through the Swift Evolution Process. Note that it's come up several times before, so I recommend familiarizing yourself with previous discussions on the forums before writing a pitch.

@swift-ci
Copy link
Collaborator Author

Comment by Colin Roache (JIRA)

@belkadan Well then, it's up to you!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added compiler The Swift compiler in itself swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal and removed new feature labels Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself feature A feature request or implementation swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal
Projects
None yet
Development

No branches or pull requests

3 participants