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_usewithsince_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 Nonechecks/exceptions to getters or helpers, e.g. insidebackends.get_genvslite_backendorbackends.get_backend_from_name - fallback strategy:
mesonlib.unwrapandmesonlib.unwrap_err
- Strict any checking (likely many small PRs)
- #15933
Add yours!
Source: mesonbuild/meson