Skip to content

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented May 7, 2025

C# requires that we explicitly declare when static members are changed in subclasses. In #2373 we added the ability to change the definition of static functions and static read/write properties in this way, but we missed doing the same for static const properties.

Give them the same treatment.

(PR includes #4827)


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

C# requires that we explicitly declare when static members are changed
in subclasses. In #2373 we added the ability to change the definition of
static functions in this way, but we missed doing the same for static
properties.

Give them the same treatment.
@rix0rrr rix0rrr self-assigned this May 7, 2025
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label May 7, 2025
@rix0rrr rix0rrr changed the title fix(jsii-pacmak): CS0108 <static property> hides inherited member fix(jsii-pacmak): CS0108 <static property> hides inherited member May 7, 2025
rix0rrr and others added 6 commits May 7, 2025 12:07
Since the removal of a class in Python 3.12, we need a more modern
version of `setuptools` to work on newer Python versions.

This gets rid of the error:

```
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
```
@rix0rrr rix0rrr requested a review from a team May 7, 2025 13:07
Copy link
Contributor

mergify bot commented May 7, 2025

Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it!

@mergify mergify bot added the pr/ready-to-merge This PR is ready to be merged. label May 7, 2025
Copy link
Contributor

mergify bot commented May 7, 2025

Merging (with squash)...

@mergify mergify bot merged commit 93e422e into main May 7, 2025
30 checks passed
@mergify mergify bot deleted the huijbers/csharp-new-static-prop branch May 7, 2025 13:38
@mergify mergify bot removed the pr/ready-to-merge This PR is ready to be merged. label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants