Skip to content

Different behaviour between CLI and add-on #2349

@vinistock

Description

@vinistock

When we moved to RBS comment annotations, the Tapioca::Dsl::Compiler base class lost the extend T::Generic. This is a breaking change because most custom compilers out there just use type_member directly without extending T::Generic themselves. That ends up not being an issue thanks to the Spoom rewriting, which adds back those extends.

Somehow, this does not happen for the add-on. It's not clear to me why this is the case yet, but we can at least fix the behaviour temporarily by extending T::Generic only in the add-on while we investigate why the behaviour would be different between the two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions