Skip to content

[New Check]: detect calling of phase functions #625

@arthurzam

Description

@arthurzam

Is there an existing such new check request for this?

  • I have searched the existing issues

Explain

Phase functions are special, not really functions in bash meaning. We can't assume we can call them. More history and story at bug 596616.

Examples

No response

Output message

ine {lineno}: calling phase function {func_name!r} is invalid

Documentation

No response

Result level

error

Metadata

Metadata

Assignees

Labels

bashrequires bash-parsing supportcheck

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions