Skip to content

Allow redefinition of non-physical vars#12822

Open
RblSb wants to merge 1 commit intoHaxeFoundation:developmentfrom
RblSb:allow-prop-redefintion
Open

Allow redefinition of non-physical vars#12822
RblSb wants to merge 1 commit intoHaxeFoundation:developmentfrom
RblSb:allow-prop-redefintion

Conversation

@RblSb
Copy link
Copy Markdown
Member

@RblSb RblSb commented Mar 15, 2026

Recently i implemented private get/set, where you can mark interface prop as private get and implement it as get, but not in reverse. Since there was already issue about access redefinition in #12268 for interfaces, i'm not sure if this narrow restriction is needed for inheritance, but i added it too.

Closes #12521

@RblSb
Copy link
Copy Markdown
Member Author

RblSb commented Mar 16, 2026

If this PR is good, i will need some help from cppia guys... Works on hxcpp itself

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.

Redefinition of non-physical field in child class

1 participant