Skip to content

Undefined variable gets printed as void #393

@sourceforge-issue-exporter

Description

Assume that we have an undefined variable x

bsh % System.out.println(x);
// Error: EvalError: Undefined argument: x : at Line:
1 : in file: <unknown file> : ( x )

But if we print out this variable with another string:

bsh % System.out.println(x+" test string");
void test string

An undefined variable should not be printed as void.

Reported by: borgacan

Original Ticket: "beanshell/bugs/255":https://sourceforge.net/p/beanshell/bugs/255

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions