Skip to content

Package clauses that restrict visibility #17725

@som-snytt

Description

@som-snytt

A package clause specifies that members of the "enclosing" package are visible.

I'd like to specify which members are visible using import selector syntax.

This has the salubrious side effect of documenting why I made the package "enclosing".

package foo
package bar.{Baz, Buzz}
package stuff.given
package mypackage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions