Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove uses of old-style traits constructors #829

Closed
corranwebster opened this issue May 26, 2022 · 0 comments · Fixed by #837
Closed

Remove uses of old-style traits constructors #829

corranwebster opened this issue May 26, 2022 · 0 comments · Fixed by #837
Assignees

Comments

@corranwebster
Copy link
Contributor

The use of the Trait() factory function and related TraitHandler-based constructs is discouraged: most or all of its uses can be done by more modern TraitTypes such as Map and Union. These should be replaced by newer idioms so that the older constructors can eventually be removed from Traits.

These occasionally cause issues when mixed with newer trait types (eg. as in #828).

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 a pull request may close this issue.

2 participants