Skip to content

feat: support trait default implementation #1

@iamazy

Description

@iamazy

The following code should be supported but not yet.

#[gat_trait::gat_trait]
trait Animal {
    async fn run(&self) {
        todo!()
    }
}

struct Dog;

#[gat_trait::gat_trait]
impl Animal for Dog {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions