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

feat(jsii): Propagate stability to members #522

Merged
merged 1 commit into from
Jun 6, 2019

Conversation

RomainMuller
Copy link
Contributor

The JSII compiler now propagates an entity's own stability to it's
members that are not decorated with an explicit stability. Un-annotated
types get the stability of the assembly, un-annotated type members
(methods, properties, constructors, ...) get the stability of their
declaring type.

Note: Overridden members do not derogate! It is the responsibility of
the overriding entity to ensure an appropriate stability is used.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The JSII compiler now propagates an entity's own stability to it's
members that are not decorated with an explicit stability. Un-annotated
types get the stability of the assembly, un-annotated type members
(methods, properties, constructors, ...) get the stability of their
declaring type.

Note: Overridden members do not derogate! It is the responsibility of
      the overriding entity to ensure an appropriate stability is used.
@RomainMuller RomainMuller requested review from costleya and a team as code owners June 6, 2019 13:59
@RomainMuller RomainMuller merged commit 20507e6 into master Jun 6, 2019
@RomainMuller RomainMuller deleted the rmuller/propagate-stability branch June 6, 2019 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants