Skip to content

Run Metalama 2027's ImmutableType and Durable analyzers over the aspects and the fabric #221

Open

Description

@CaffeinatedCoder

Goal

Run Metalama 2027.0's analyzers for aspect authors over TypeKit's aspects, fabric and validators, and fix what they report. Needs #173.

Metalama 2027.0 ships two contracts, checked by analyzers in Metalama.Framework itself, both reporting warnings only (release notes, "Analyzers for aspect authors"):

  • [ImmutableType]: an aspect, fabric or validator that assigns a field outside its constructor.
  • [Durable]: an object held across compilations that could keep a Compilation, a syntax tree or a symbol alive (LAMA0870 to LAMA0879).

The repository builds with warnings as errors, so these fail the build until they're answered.

Done when

Activity

  1. added this to the 2.5.0 milestone on Oct 31, 2026
  2. added
    choreBuild, CI, tooling, packaging, refactoring with no behaviour change
    package/generatorsAffects CodoMetis.TypeKit.Generators
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreBuild, CI, tooling, packaging, refactoring with no behaviour changepackage/generatorsAffects CodoMetis.TypeKit.Generators

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions