Repository navigation
GALA 0.93.2
GALA 0.93.2 Release Notes
Released: 2026-10-25
Highlights
A patch release with two type fixes. A declared Tuple[A, B, C] now unifies with a tuple literal. A type from a package that a library imports under an alias now reaches other files under the package's name, so code using the library compiles.
Bug Fixes
- Tuples of three or more (#868,
2a147b98):Tuple[A, B, C]is read asTuple3[A, B, C], the type a tuple literal of three values has, and likewise up toTuple10. Before, these failed when a declared tuple met a tuple literal:- a match whose arms return each was rejected with a type mismatch;
- an if-expression mixing them failed with GALA-E0068;
- an explicit type argument such as
None[Tuple[int, int, int]]()generated invalid Go.
- Types from an aliased import in a library (part of #864,
a6396d11): a library file that imports a GALA package under an alias (import cx "pkg/cmdp") recorded the types it wrote ascx.Cmd, an alias that means nothing elsewhere. Files using the library failed withundefined: cx, left field reads likec.Namewrapped inImmutable, and typed lambda results asany. Such types are now recorded under the package's name. This affectedgala build, not only Bazel.- Code that must spell such a type in Go (a lambda parameter, for one) now imports its package. Under Bazel that package has to be among the target's
deps:gala_gazelle0.4.0 adds it, and hand-written BUILD files list it themselves.
- Code that must spell such a type in Go (a lambda parameter, for one) now imports its package. Under Bazel that package has to be among the target's
Full Changelog: 0.93.1...0.93.2