Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error received when creating an array with alias type #625

Open
jwest115 opened this issue Feb 20, 2025 · 0 comments
Open

Error received when creating an array with alias type #625

jwest115 opened this issue Feb 20, 2025 · 0 comments
Assignees

Comments

@jwest115
Copy link
Collaborator

When trying to create an array with an alias type I receive an internal error (see below):

type AliasT1 = U32
array U32x4 = [4] AliasT1 default [1, 2, 3, 4]

Produces the following error:

Exception in thread "main" internal error: cannot convert value [ 1, 2, 3, 4 ] to type array U32x4
        at fpp.compiler.util.InternalError$.apply(Error.scala:4)
        at fpp.compiler.analysis.Analysis$.convertValueToType(Analysis.scala:565)
@jwest115 jwest115 added the bug Something isn't working label Feb 20, 2025
@Kronos3 Kronos3 self-assigned this Feb 20, 2025
@bocchino bocchino removed the bug Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants