#15924·meson

Tracker for typing/refactoring ideas

Author: bonziniCreated Jun 12, 2026Updated Sep 15, 2026

These should be small, and generally speaking should admit arbitrary ordering.

  • Create Union types to use across the code base (#15921)
  • Remove str from build constructors (#15921)
  • Replace Union with Protocol outside the interpreter to constrain the amount of methods that can use duck typing (#15930)
  • Move primitive types to Interpreterbase (ast/interpreter.py uses them and casts itself to Interpreter...)
  • Replace various uses of FeatureNew.single_use with since_values
  • Type safe option value getters (#15678)
  • Strict null checking (likely many small PRs)
    • #16200 (adds useful lint for missing None annotations)
    • #15913
    • #15954
    • use LateProperty if appropriate (see comment)
    • pull is None checks/exceptions to getters or helpers, e.g. inside backends.get_genvslite_backend or backends.get_backend_from_name
    • fallback strategy: mesonlib.unwrap and mesonlib.unwrap_err
  • Strict any checking (likely many small PRs)
    • #15933

Add yours!