Skip to content

Conversation

merkste
Copy link
Contributor

@merkste merkste commented Oct 23, 2018

Exclude methods defined in traits from export

Trait definitions are already excluded from the export and their methods
are flattened into the using classes. Exporting trait methods seperately
breaks the import in VW, as the corresponding class-id is undefined.

This commit
a) excludes trait methods and initializers and
b) changes the filter to #isClass instead of #isTrait for consistency.

Trait definitions are already excluded from the export and their methods
are flattened into the using classes. Exporting trait methods seperately
breaks the import in VW, as the corresponding class-id is undefined.

This commit
a) excludes trait methods and initializers and
b) changes the filter to #isClass instead of #isTrait for consistency.
@merkste
Copy link
Contributor Author

merkste commented Oct 23, 2018

It might be worth to consider making the exclusion of traits in general an option in the future.

@akevalion
Copy link
Contributor

This PR has conflics

@merkste
Copy link
Contributor Author

merkste commented Aug 8, 2019 via email

@akevalion
Copy link
Contributor

Yes, ObjectProfile have used it every so often

@merkste
Copy link
Contributor Author

merkste commented Aug 13, 2019 via email

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