Skip to content

"!undefined_variable" gives wrong answer #2

@shijinglu

Description

@shijinglu

!undefined_variable is translated to "undefined_variable == false" where undefined_variable is then translated to "undefined_variable" and hence the result is always false.

One solution is separate string and identity, and stop defaulting identity to string literal.

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