You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0005: const F32_SIZE = bit_count<float32::F32>();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^--------------^ TypeInferenceError: The parametric argument for 'bit_count' should be a type and not a value.
aliasing the type locally w/:
type F32 = float32::F32;
const F32_SIZE = bit_count<float32::F32>();
workaround the issue.
Expected behavior
Imported type should also be recognized by the bit_count builtin.
The text was updated successfully, but these errors were encountered:
proppy
added
bug
Something isn't working or is incorrect
dslx
DSLX (domain specific language) implementation / front-end
🧦 sox
labels
Mar 5, 2025
Describe the bug
bit_count
only seems to recognize on local types as valid argument.To Reproduce
produces the following error:
aliasing the type locally w/:
workaround the issue.
Expected behavior
Imported type should also be recognized by the
bit_count
builtin.The text was updated successfully, but these errors were encountered: