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
Expected the program to compile successfully, but it currently fails with:
error: N has a type of SomeAlias. The only supported numeric generic types are `u1`, `u8`, `u16`, and `u32`.
┌─ src/main.nr:3:20
│
3 │ pub struct Foo<let N: SomeAlias> { }
│ - Unsupported numeric generic type
│
Aborting due to 1 previous error
On version:
nargo version = 0.39.0
noirc version = 0.39.0+df8f2eee5c27d3cd4b6128056afdd9bd4a0322fe
(git version hash: df8f2eee5c27d3cd4b6128056afdd9bd4a0322fe, is dirty: false)
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
Nice-to-have
Blocker Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
Attempted to compile a program where a numeric generic's kind is a type alias for
u32
:Happy Case
Expected the program to compile successfully, but it currently fails with:
On version:
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
Nice-to-have
Blocker Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: