Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sema: add missing compile error for runtime-known const with comptime…
…-only type When RLS is used to initialize a value with a comptime-only type, the usual "value with comptime-only type depends on runtime control flow" error message isn't hit, because we don't use results from a block. When we reach `make_ptr_const`, we must validate that the value is comptime-known.
- Loading branch information