const
expression in impl
really is a constexpr
#1847
Labels
dslx
DSLX (domain specific language) implementation / front-end
Describe the bug
The compiler incorrectly says that an expression is not constexpr.
Now you have to test (not build! there's no problem when I bazel build the dslx library):
To Reproduce
Copy the code above and test it (again, no problem when building, which is (arguably) a separate bug).
Expected behavior
It to compile and test without error.
Other
The fix might be as simple as lifting the restriction that all parametric types for structs are
u32
.The text was updated successfully, but these errors were encountered: