Skip to content

State variables are not interpolated into strings #129

@snoopyjc

Description

@snoopyjc

State variables are not interpolated into strings. For example:

sub banner {
    state $inv = 'inv';
    state $from_fstring = "${inv}x";
    ...
}

$inv is renamed to banner_inv, but that name isn't put into the f-string for the reference.

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