Skip to content

Generated clone method does not compile when extending an abstract parent#1

Open
dasilvj wants to merge 2 commits intoChristianSchulte:masterfrom
dasilvj:master
Open

Generated clone method does not compile when extending an abstract parent#1
dasilvj wants to merge 2 commits intoChristianSchulte:masterfrom
dasilvj:master

Conversation

@dasilvj
Copy link

@dasilvj dasilvj commented Jan 21, 2016

Mainly a simple fix, to use the copy constructor of the current instance instead of calling super.clone() in the generated clone method when the parent class is abstract.

@ChristianSchulte
Copy link
Owner

Could you please provide a simple schema (fragment) demonstrating the issue?

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