Skip to content

compgen -V array not considered assigned #3466

@rieje

Description

@rieje

For new checks and feature suggestions

Here's a snippet or screenshot that shows a potential problem:

#!/bin/bash
compgen -V array not considered assigned

Here's what shellcheck currently says:

SC1254: array is referenced but not assigned

Here's what I wanted to see:

No warning, array was assigned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions