Skip to content

Adress #11: Exclude trait methods from export#16

Open
merkste wants to merge 1 commit into
ObjectProfile:masterfrom
merkste:exclude-trait-methods
Open

Adress #11: Exclude trait methods from export#16
merkste wants to merge 1 commit into
ObjectProfile:masterfrom
merkste:exclude-trait-methods

Conversation

@merkste

@merkste merkste commented Oct 23, 2018

Copy link
Copy Markdown
Contributor

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

merkste commented Oct 23, 2018

Copy link
Copy Markdown
Contributor Author

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

@akevalion

Copy link
Copy Markdown
Contributor

This PR has conflics

@merkste

merkste commented Aug 8, 2019 via email

Copy link
Copy Markdown
Contributor Author

@akevalion

Copy link
Copy Markdown
Contributor

Yes, ObjectProfile have used it every so often

@merkste

merkste commented Aug 13, 2019 via email

Copy link
Copy Markdown
Contributor Author

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