Skip to content

Template Trait cannot be used on classes that also have a non-static subject trait #47

@alexstandiford

Description

@alexstandiford

This is because With_Static_Subject and With_Subject each have methods that are named identically. This causes these methods to be overridden by one, or the other, and cause unexpected behavior.

The only obvious solution is to change the name of the methods in either With_Static_Subject or With_Subject to make it possible to have both in a single class.

Metadata

Metadata

Assignees

No one assigned

    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