Skip to content

Bundle assignments of same length #422

@gabizon103

Description

@gabizon103

If a and b are bundles of length N, the assignment a = b will cause the compiler to throw an unassigned bundle location error, where it'll say indices 1, 2, ..., N-1 are unassigned. You need to instead do a{0..N} = b{0..N}. Similarly if we have a module Foo that takes as input a bundle of length N, the invocation Foo<'G>(a) will not type check because the compiler thinks a is a bundle of length 1. You need to do Foo<'G>(a{0..N}) instead.

Not a super high priority but would be nice to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: languageComponent: the Filament language

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions