Backport TypeConstructorValue for `type` alias statements to Bazel 9.x
Open
P2
team-Starlark-Interpreter
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
In Bazel 10, `type` alias statements will introduce an eval-time value (not just a compile-time symbol); in other words, in Bazel 10
```bzl
type a = list
print(a)
```
will eval successfully.
We should backport the same behavior to 9.x.
Child issue of #27370
@brandjon FYI
Contributor guide
Assessment
This issue has not been assessed yet.