Skip to content

Remove uses of old-style traits constructors #829

@corranwebster

Description

@corranwebster

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions