Skip to content

unsupported bashism/zshism parsing: funcnames #463

@Artoria2e5

Description

@Artoria2e5

Bash allows weird funcnames to contain quite a lot of things.

This script, for example; produces a b:

[(){ local IFS=' '; echo -n "$*"; } # shellcheck hangs at this funcdef, while bash funcnames..
[ a && echo b # here we also see shellcheck recgonize && like a syntax keyword; another issue.

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