Skip to content

"!undefined_variable" gives wrong answer #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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