Skip to content

Can't use array.filter #1

Open
Open
@voltrevo

Description

@voltrevo

This occurs when writing circuits because the predicate returns a CircuitSignal instead of an actual boolean.

The fix for this might just be improving the diagnostic - filtering on signals is probably a bad idea because it creates 2^n branches for n elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions