Skip to content

Crash in Transform f addargs(1,last) if f appears with no arguments #267

Description

@jodavies

Hello,

This is not really a bug as such, but something I found and thought I should report. I would expect the following code to simply "do nothing",

#-
CFunction f;
Local test = f;
Transform f addargs(1,last);
Print +s;
.end

but rather it gives the misleading error

Illegal $ value in range while executing transform statement.

Of course one can avoid it with

Identify f = 0;

or similar, before the transform statement.

Thanks,
Josh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions