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
The second error referenced is from the type system: Expression @ fake.x:6:20-6:29 was not constexpr: 'N + u32:1'. Since type system v2 is in progress, we will wait for it to be ready to support this case.
Meanwhile, I'll work on the parser error (first error), but it's possible that once parsed, it will also hit the second error case and be blocked on type system v2.
Describe the bug
DSLX frontend does not seems to support using a const from a parametric impl.
To Reproduce
throws the following error:
Expected behavior
I would expect the parser to resolve
Foo<N>::N_PLUS_1
asN + u32:1
.Note that attempting to define a local type alias:
produces a different error:
Related: #1778
The text was updated successfully, but these errors were encountered: